From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Test selection Date: Sat, 23 Nov 2013 20:14:43 +0100 Message-ID: <87iovjvskc.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VkIfU-0000Ab-8n for emacs-orgmode@gnu.org; Sat, 23 Nov 2013 14:15:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VkIfP-0003Al-7l for emacs-orgmode@gnu.org; Sat, 23 Nov 2013 14:15:00 -0500 Received: from plane.gmane.org ([80.91.229.3]:33513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VkIfP-0003Ab-19 for emacs-orgmode@gnu.org; Sat, 23 Nov 2013 14:14:55 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VkIfO-0007pu-94 for emacs-orgmode@gnu.org; Sat, 23 Nov 2013 20:14:54 +0100 Received: from pd9eb13af.dip0.t-ipconnect.de ([217.235.19.175]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Nov 2013 20:14:54 +0100 Received: from Stromeko by pd9eb13af.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Nov 2013 20:14:54 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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