From: Evan Hunt Date: Fri, 9 Mar 2018 22:02:19 +0000 (-0800) Subject: allow ATF tests to run in parallel X-Git-Tag: v9.13.0~102^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef0b4c91bc9ec7f131d0d4311b9a595e00a2572b;p=thirdparty%2Fbind9.git allow ATF tests to run in parallel --- diff --git a/lib/dns/tests/Kyuafile b/lib/dns/tests/Kyuafile index 692acc0500f..221fb54ffe0 100644 --- a/lib/dns/tests/Kyuafile +++ b/lib/dns/tests/Kyuafile @@ -18,7 +18,7 @@ atf_test_program{name='name_test'} atf_test_program{name='nsec3_test'} atf_test_program{name='peer_test'} atf_test_program{name='private_test'} -atf_test_program{name='rbt_serialize_test'} +atf_test_program{name='rbt_serialize_test', is_exclusive=true} atf_test_program{name='rbt_test'} atf_test_program{name='rdata_test'} atf_test_program{name='rdataset_test'} diff --git a/unit/unittest.sh.in b/unit/unittest.sh.in index bcbb89394ee..70335aa7b37 100755 --- a/unit/unittest.sh.in +++ b/unit/unittest.sh.in @@ -30,7 +30,7 @@ then echo "S:unit:`date`" echo "T:unit:1:A" echo "I: unit tests (using kyua)" - kyua --logfile kyua.log --loglevel debug test --results-file ${KYUA_RESULT:-NEW} + kyua -v parallelism=${TEST_PARALLEL_JOBS:-1} --logfile kyua.log --loglevel debug test --results-file ${KYUA_RESULT:-NEW} status=$? kyua report --results-file ${KYUA_RESULT:-LATEST}