Merge branch '1452-detect-missing-system-test-results-v9_14' into 'v9_14'

[v9_14] Detect missing system test results

See merge request isc-projects/bind9!2720
This commit is contained in:
Michał Kępień 2019-12-06 13:46:31 +00:00
commit 8ed6c8fd59

View file

@ -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