diff --git a/bind.spec b/bind.spec index 40e8649..8ab6233 100644 --- a/bind.spec +++ b/bind.spec @@ -450,6 +450,7 @@ export TSAN_OPTIONS="log_exe_name=true log_path=ThreadSanitizer exitcode=0" pushd build CPUS=$(lscpu -p=cpu,core | grep -v '^#' | wc -l) THREADS="$CPUS" + export CI=true if [ "$CPUS" -gt 16 ]; then ORIGFILES=$(ulimit -n) THREADS=16 @@ -457,6 +458,8 @@ export TSAN_OPTIONS="log_exe_name=true log_path=ThreadSanitizer exitcode=0" fi make unit -j${THREADS} e=$? + # Display details of failure + cat tests/*/test-suite.log if [ "$e" -ne 0 ]; then echo "ERROR: this build of BIND failed 'make unit'. Aborting." exit $e; @@ -940,6 +943,7 @@ fi; %changelog * Tue Aug 30 2022 Petr Menšík - 32:9.18.6-1 - Update to 9.18.6 (#2119132) +- Report unit tests detailed results * Thu Aug 04 2022 Petr Menšík - 32:9.18.5-2 - Use multiple threads on unit tests, but 16 at most