[PATCH 5/8] testr: Use waf testonly and create a custom directory for new workers.

Jelmer Vernooij jelmer at samba.org
Sun Oct 12 22:19:01 MDT 2014

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 at samba.org>
 .testr.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.testr.conf b/.testr.conf
index 00d0857..5a181e3 100644
--- a/.testr.conf
+++ b/.testr.conf
@@ -1,4 +1,4 @@
-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

More information about the samba-technical mailing list