mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Use btest -A on CI to get more information about stuck tests
This commit is contained in:
parent
6398329cd5
commit
473e309dd6
1 changed files with 3 additions and 3 deletions
|
@ -66,7 +66,7 @@ function run_btests {
|
||||||
sed -i 's/^ZEEK_PROFILER_FILE/#ZEEK_PROFILER_FILE/g' btest.cfg
|
sed -i 's/^ZEEK_PROFILER_FILE/#ZEEK_PROFILER_FILE/g' btest.cfg
|
||||||
fi
|
fi
|
||||||
|
|
||||||
${BTEST} -z ${ZEEK_CI_BTEST_RETRIES} -d -b -x btest-results.xml -j ${ZEEK_CI_BTEST_JOBS} || result=1
|
${BTEST} -z ${ZEEK_CI_BTEST_RETRIES} -d -A -x btest-results.xml -j ${ZEEK_CI_BTEST_JOBS} || result=1
|
||||||
make coverage
|
make coverage
|
||||||
prep_artifacts
|
prep_artifacts
|
||||||
popd
|
popd
|
||||||
|
@ -86,7 +86,7 @@ function run_external_btests {
|
||||||
local zeek_testing_pid=""
|
local zeek_testing_pid=""
|
||||||
local zeek_testing_pid_private=""
|
local zeek_testing_pid_private=""
|
||||||
pushd testing/external/zeek-testing
|
pushd testing/external/zeek-testing
|
||||||
${BTEST} -d -b -x btest-results.xml -j ${ZEEK_CI_BTEST_JOBS} >btest.out 2>&1 &
|
${BTEST} -d -A -x btest-results.xml -j ${ZEEK_CI_BTEST_JOBS} >btest.out 2>&1 &
|
||||||
zeek_testing_pid=$!
|
zeek_testing_pid=$!
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ function run_external_btests {
|
||||||
pushd testing/external/zeek-testing-private
|
pushd testing/external/zeek-testing-private
|
||||||
# Note that we don't use btest's "-d" flag or generate/upload any
|
# Note that we don't use btest's "-d" flag or generate/upload any
|
||||||
# artifacts to prevent leaking information about the private pcaps.
|
# artifacts to prevent leaking information about the private pcaps.
|
||||||
${BTEST} -b -j ${ZEEK_CI_BTEST_JOBS} >btest.out 2>&1 &
|
${BTEST} -A -j ${ZEEK_CI_BTEST_JOBS} >btest.out 2>&1 &
|
||||||
zeek_testing_private_pid=$!
|
zeek_testing_private_pid=$!
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue