emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Test selection
@ 2013-11-23 19:14 Achim Gratz
  0 siblings, 0 replies; only message in thread
From: Achim Gratz @ 2013-11-23 19:14 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-23 19:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-23 19:14 Test selection Achim Gratz

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).