]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
allow ATF tests to run in parallel
authorEvan Hunt <each@isc.org>
Fri, 9 Mar 2018 22:02:19 +0000 (14:02 -0800)
committerEvan Hunt <each@isc.org>
Fri, 9 Mar 2018 22:03:02 +0000 (14:03 -0800)
lib/dns/tests/Kyuafile
unit/unittest.sh.in

index 692acc0500f20d779e9b5bc75f63b85f20f55e24..221fb54ffe0586ba5876efea113c14625f2a67cf 100644 (file)
@@ -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'}
index bcbb89394eed53c8aedcd4446d1ba788ca20ad7d..70335aa7b37a2c83c3b2bd8bb3117a81114c581e 100755 (executable)
@@ -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}