From 11235943d99c7f33d2ea1c64bf8390671697a627 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Fri, 13 Feb 2026 08:55:45 -0800 Subject: [PATCH] Make INFO line counting non-failing unconditionally. --- ci/tools/run-tests | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ci/tools/run-tests b/ci/tools/run-tests index 4f0c6d1d84..3ebeb1970e 100755 --- a/ci/tools/run-tests +++ b/ci/tools/run-tests @@ -33,8 +33,9 @@ if [[ "${test_module}" == "pathfinder" ]]; then "LD:${CUDA_PATHFINDER_TEST_LOAD_NVIDIA_DYNAMIC_LIB_STRICTNESS} " \ "FH:${CUDA_PATHFINDER_TEST_FIND_NVIDIA_HEADERS_STRICTNESS}" pytest -ra -s -v --durations=0 tests/ |& tee /tmp/pathfinder_test_log.txt - # Fail if no "INFO test_" lines are found; capture line count otherwise - line_count=$(grep '^INFO test_' /tmp/pathfinder_test_log.txt | wc -l) + # Report the number of "INFO test_" lines (including zero) + # to support quick validations based on GHA log archives. + line_count=$(awk '/^INFO test_/ {count++} END {print count+0}' /tmp/pathfinder_test_log.txt) echo "Number of \"INFO test_\" lines: $line_count" popd elif [[ "${test_module}" == "bindings" ]]; then