emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Test selection


From: Achim Gratz
Subject: [O] Test selection
Date: Sat, 23 Nov 2013 20:14:43 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Following up on some off-list discussion with Eric Schulte some time
ago, I've just pushed a change to officially enable test selection.  The
base functionality had been there for a while… Here's the pertinent
documentation, also added to the build system documentation on Worg:

http://orgmode.org/worg/dev/org-build-system.html#sec-5

--8<---------------cut here---------------start------------->8---
Sometimes you only want to run a set of specific tests instead of
all. This is especially useful if you are trying to bisect a large range
of commits with a run script. Instead of checking if the failing test
was perhaps a different one than the one you wanted to check for,
running just these test (or tests) makes that task much easier. For
instance,

make BTEST_RE='^test-org/forward-element$' test-dirty

would run only the test for forward-element and nothing else, which is
also much faster than running the almost 500 other tests as well. Keep
in mind that the test selector is a regular expression, the default
value of "\(org\|ob\)" matches all tests.
--8<---------------cut here---------------end--------------->8---

If you've copied all of default.mk to local.mk or were adventurous
enough to use your own definition of BTEST you will have to merge the
changes to default.mk into your configuration to use test selection.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables




reply via email to

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