Skip to content

Commit 463ed53

Browse files
authored
Make INFO line counting non-failing unconditionally. (#1621)
1 parent 62349f4 commit 463ed53

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ci/tools/run-tests

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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
4041
elif [[ "${test_module}" == "bindings" ]]; then

0 commit comments

Comments
 (0)