testr: Use waf testonly and create a custom directory for new workers.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 13 Oct 2014 02:53:35 +0000 (19:53 -0700)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 14 Oct 2014 04:44:07 +0000 (06:44 +0200)
Using waf testonly helps speed up test runs, and the custom directory is
required to run multiple workers in parallel.

Change-Id: I339420c5c503c270a04888a1c990836cb0c91e94
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
.testr.conf

index 00d085778f7aa3ad020f7226ec2597fd8a164b28..5a181e3699dc2f173a1a54def01e4587b90c5497 100644 (file)
@@ -1,4 +1,4 @@
 [DEFAULT]
-test_command=./buildtools/bin/waf test --filtered-subunit $IDOPTION $LISTOPT
+test_command=./buildtools/bin/waf testonly --filtered-subunit $IDOPTION $LISTOPT --with-selftest-prefix=$(mktemp -d)
 test_id_option=--load-list $IDFILE
 test_list_option=--list