File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,9 @@ if [[ "${test_module}" == "pathfinder" ]]; then
3333 " LD:${CUDA_PATHFINDER_TEST_LOAD_NVIDIA_DYNAMIC_LIB_STRICTNESS} " \
3434 " FH:${CUDA_PATHFINDER_TEST_FIND_NVIDIA_HEADERS_STRICTNESS} "
3535 pytest -ra -s -v --durations=0 tests/ | & tee /tmp/pathfinder_test_log.txt
36- # Fail if no "INFO test_" lines are found; capture line count otherwise
37- line_count=$( grep ' ^INFO test_' /tmp/pathfinder_test_log.txt | wc -l)
36+ # Report the number of "INFO test_" lines (including zero)
37+ # to support quick validations based on GHA log archives.
38+ line_count=$( awk ' /^INFO test_/ {count++} END {print count+0}' /tmp/pathfinder_test_log.txt)
3839 echo " Number of \" INFO test_\" lines: $line_count "
3940 popd
4041elif [[ " ${test_module} " == " bindings" ]]; then
You can’t perform that action at this time.
0 commit comments