Skip to content

Commit 2d1e9d4

Browse files
committed
Number of "INFO test_" lines: 48
1 parent 400276a commit 2d1e9d4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

ci/tools/run-tests

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ if [[ "${test_module}" == "pathfinder" ]]; then
3636
"FH:${CUDA_PATHFINDER_TEST_FIND_NVIDIA_HEADERS_STRICTNESS}"
3737
pwd
3838
pytest -ra -s -v tests/ |& tee /tmp/pathfinder_test_log.txt
39-
# Fail if no "INFO test_" lines are found; print line count otherwise
40-
grep '^INFO test_' /tmp/pathfinder_test_log.txt | wc -l
39+
# Fail if no "INFO test_" lines are found; capture line count otherwise
40+
line_count=$(grep '^INFO test_' /tmp/pathfinder_test_log.txt | wc -l)
41+
echo "Number of \"INFO test_\" lines: $line_count"
4142
popd
4243
elif [[ "${test_module}" == "bindings" ]]; then
4344
pushd "${CUDA_BINDINGS_ARTIFACTS_DIR}"

0 commit comments

Comments
 (0)