emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [babel] Collection of code block snippets


From: Eric Schulte
Subject: Re: [O] [babel] Collection of code block snippets
Date: Tue, 06 Sep 2011 11:13:09 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Hi Martyn,

Martyn Jago <address@hidden> writes:

> Hi 
>
> Rainer M Krug <address@hidden> writes:
>
> [...]
>
>>
>>>
>>> > And if this could be done by the user to test .emacs configuration
>>> > settings, that would be really great.
>>> >
>>>
>>> That's a good idea.  Simply running the Org-mode test suite is a good
>>> way for users to test the sanity of their local config.
>>>
>>
>> Yes - I have a few times run into problems due to my configuration file and
>> only realized it later - if there would be ab org file which I could use to
>> test easily my configuration directly after making the changes, life would
>> have been much easier for me. This would also be useful for questions on the
>> mailing list and for a kind of "quality control" for published configs on
>> the web.
>
> In terms of running all the tests in 'batch mode' i.e. loading no
> personal configuration files (for development purposes), I have put
> together a small 'test-init.el' file to do that.
>

I just made three small changes to the testing framework so it is now
possible to run the test suite in batch mode with the following.

emacs -Q --batch -l path/to/org/testing/org-test.el --eval "(setq 
org-confirm-babel-evaluate nil)" -f org-test-run-all-tests

Best -- Eric

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]