Commit 360146cb authored by Evan Hunt's avatar Evan Hunt
Browse files

Merge branch 'parallel-unit-tests' into 'v9_11'

capture more info from unit tests, run in parallel

See merge request !117
parents 3b559cf7 fb076e05
......@@ -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'}
......
......@@ -10,7 +10,7 @@ if [ -n "@UNITTESTS@" -a -x "$ATFRUN" -a -f Atffile ]
then
echo "S:unit:`date`"
echo "T:unit:1:A"
echo "I: unit tests"
echo "I: unit tests (using atf-run)"
atf-run > atf.out
status=$?
......@@ -29,11 +29,11 @@ elif [ -n "@UNITTESTS@" -a -x "$KYUA" -a -f Kyuafile ]
then
echo "S:unit:`date`"
echo "T:unit:1:A"
echo "I: unit tests"
kyua --logfile kyua.log test
echo "I: unit tests (using kyua)"
kyua -v parallelism=${TEST_PARALLEL_JOBS:-1} --logfile kyua.log --loglevel debug test --results-file ${KYUA_RESULT:-NEW}
status=$?
kyua report
kyua report --results-file ${KYUA_RESULT:-LATEST}
if [ $status -eq 0 ]
then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment