We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62349f4 commit 463ed53Copy full SHA for 463ed53
1 file changed
ci/tools/run-tests
@@ -33,8 +33,9 @@ if [[ "${test_module}" == "pathfinder" ]]; then
33
"LD:${CUDA_PATHFINDER_TEST_LOAD_NVIDIA_DYNAMIC_LIB_STRICTNESS} " \
34
"FH:${CUDA_PATHFINDER_TEST_FIND_NVIDIA_HEADERS_STRICTNESS}"
35
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)
+ # Report the number of "INFO test_" lines (including zero)
+ # 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)
39
echo "Number of \"INFO test_\" lines: $line_count"
40
popd
41
elif [[ "${test_module}" == "bindings" ]]; then
0 commit comments