mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 05:59:59 -04:00
Merge branch '1452-detect-missing-system-test-results' into 'master'
Detect missing system test results See merge request isc-projects/bind9!2708
This commit is contained in:
commit
34fb70b17c
1 changed files with 7 additions and 0 deletions
|
|
@ -56,4 +56,11 @@ if [ -n "${FAILED_TESTS}" ]; then
|
|||
status=1
|
||||
fi
|
||||
|
||||
RESULTS_FOUND=`grep -c 'R:[a-z0-9_-][a-z0-9_-]*:[A-Z][A-Z]*' systests.output`
|
||||
TESTS_RUN=`echo "${SUBDIRS}" | wc -w`
|
||||
if [ "${RESULTS_FOUND}" -ne "${TESTS_RUN}" ]; then
|
||||
echofail "I:Found ${RESULTS_FOUND} test results, but ${TESTS_RUN} tests were run"
|
||||
status=1
|
||||
fi
|
||||
|
||||
exit $status
|
||||
|
|
|
|||
Loading…
Reference in a new issue