Hi Eric

Eric Schulte <schulte.e...@gmail.com> writes:

> Martyn Jago <martyn.j...@btinternet.com> writes:
>
>> Hi Eric
>>
>> Eric Schulte <schulte.e...@gmail.com> writes:
>>
>>> Martyn Jago <martyn.j...@btinternet.com> writes:
>>>
>>>> Hi Eric
>>>>
>>>> Eric Schulte <schulte.e...@gmail.com> writes:
>>>>
>>>>> Hi Martyn,
>>>>>
>>>>> I've just pushed up what will hopefully be a more general solution.
>>>>> Basically, language-specific test files can now signal errors if they
>>>>> have unmet dependencies.  These are then intercepted by `org-test-load'
>>>>> and the file is not added to the test suite.  Hopefully this will allow
>>>>> language-specific tests to be written without breaking the config-less
>>>>> test suite.
>>>>>
>>>>> See the top of test-ob-R.el for an example usage.
>>>>>
>>>>> Cheers -- Eric
>>>>
>>>> Unfortunately this is still broken for me. Given the exe exists but the
>>>> feature doesn't (ie no personal config), the following line causes the
>>>> error `peculiar error' !
>>>>
>>>>    (signal 'org-test-lib-not-found "ess"))
>>>>
>>>
>>> Oh,
>>>
>>> I forgot to update the types of errors that I am catching after adding a
>>> new error type for missing libraries (e.g., ess).  This should now be
>>> fixed.
>>>
>>
>> There still seems to be a problem with test-ob-R - same error "peculiar
>> error".
>>
>
> OK, I see this error as well.  I've switched from using errors to signal
> a missing dependency to using catch/throw blocks.  This seems to
> actually work, hopefully the test suite should now run w/o error.
>

This now works great for me. 

>>
>>>
>>> Is there a way to see the output of the test run, all I can find is the
>>> command which is executed.
>>
>> Yes - just click on the org-mode_Emacs_24 (title) link and then on the
>> build log link. There isn't much of a log on the failing tests since
>> the entire test run is broken by the signal. 
>>
>> You can checkout the build log for my-org-mode-dev to see what you
>> should get.
>>
>
> Great, doing this I can see that everything is now running successfully
> http://martynjago.com:3333/builds/org-mode_Emacs_24/4446e50/build.log
>
> Very nice system, I wonder if we could run something like this on the
> Org-mode server.

It should be fairly easy to set up a similar system on the Org-mode
server, and very useful I would have thought. I agree it is a very
useful system and have used it several times on other projects.

Best, Martyn



Reply via email to