Skip to content

Commit 400276a

Browse files
committed
Fail if no "INFO test_" lines are found in pathfinder test output
1 parent 7a24bd8 commit 400276a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

ci/tools/run-tests

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ if [[ "${test_module}" == "pathfinder" ]]; then
3535
"LD:${CUDA_PATHFINDER_TEST_LOAD_NVIDIA_DYNAMIC_LIB_STRICTNESS} " \
3636
"FH:${CUDA_PATHFINDER_TEST_FIND_NVIDIA_HEADERS_STRICTNESS}"
3737
pwd
38-
pytest -ra -s -v tests/
38+
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
3941
popd
4042
elif [[ "${test_module}" == "bindings" ]]; then
4143
pushd "${CUDA_BINDINGS_ARTIFACTS_DIR}"

0 commit comments

Comments
 (0)