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.11.4rc1~77^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=fb076e05913e0385345a3bde95a5ebf1b47433dc;p=thirdparty%2Fbind9.git allow ATF tests to run in parallel (cherry picked from commit ef0b4c91bc9ec7f131d0d4311b9a595e00a2572b) (cherry picked from commit 787c5d1394ff29e79896b8e4407fabe727e3c5e8) --- diff --git a/lib/dns/tests/Kyuafile b/lib/dns/tests/Kyuafile index 72a581b861b..51a6881db3f 100644 --- a/lib/dns/tests/Kyuafile +++ b/lib/dns/tests/Kyuafile @@ -17,7 +17,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}