diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index ed4ff261..4316c2d9 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -603,6 +603,7 @@ if(EXISTS ${CMAKE_SOURCE_DIR}/docs/KERNELS.md) ${CMAKE_SOURCE_DIR}/docs/KERNELS.md) set_tests_properties(kernel_report_check PROPERTIES LABELS "fast;unit" + SKIP_RETURN_CODE 77 TIMEOUT ${RAD_TEST_TIMEOUT}) endif() diff --git a/tests/kernel_report_check.sh b/tests/kernel_report_check.sh index fc411796..8bdd2326 100755 --- a/tests/kernel_report_check.sh +++ b/tests/kernel_report_check.sh @@ -13,6 +13,8 @@ set -u REPORT=$1 test -f "$REPORT" || { echo "kernel_report_check: no report at $REPORT"; exit 1; } +# The counting is one python3 pass; a host without it skips, like ops_doc's skip codes. +command -v python3 >/dev/null 2>&1 || { echo " SKIP python3 not present"; exit 77; } python3 - "$REPORT" <<'PY' import re, sys