Skip to content

Commit bc218ab

Browse files
authored
ci: remove pwd and ls commands that add noise to CI output (#1014)
1 parent 6fa905f commit bc218ab

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

ci/tools/run-tests

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ test_module=${1}
2424
# (it is a direct dependency of bindings, and a transitive dependency of core)
2525
pushd ./cuda_pathfinder
2626
echo "Installing pathfinder wheel"
27-
pwd
28-
ls
2927
pip install $(ls *.whl)[test]
3028
popd
3129

@@ -34,7 +32,6 @@ if [[ "${test_module}" == "pathfinder" ]]; then
3432
echo "Running pathfinder tests with " \
3533
"LD:${CUDA_PATHFINDER_TEST_LOAD_NVIDIA_DYNAMIC_LIB_STRICTNESS} " \
3634
"FH:${CUDA_PATHFINDER_TEST_FIND_NVIDIA_HEADERS_STRICTNESS}"
37-
pwd
3835
pytest -ra -s -v tests/ |& tee /tmp/pathfinder_test_log.txt
3936
# Fail if no "INFO test_" lines are found; capture line count otherwise
4037
line_count=$(grep '^INFO test_' /tmp/pathfinder_test_log.txt | wc -l)
@@ -43,18 +40,14 @@ if [[ "${test_module}" == "pathfinder" ]]; then
4340
elif [[ "${test_module}" == "bindings" ]]; then
4441
pushd "${CUDA_BINDINGS_ARTIFACTS_DIR}"
4542
echo "Installing bindings wheel"
46-
pwd
47-
ls
4843
if [[ "${LOCAL_CTK}" == 1 ]]; then
49-
ls "${CUDA_PATH}"
5044
pip install $(ls *.whl)[test]
5145
else
5246
pip install $(ls *.whl)[all,test]
5347
fi
5448
popd
5549
pushd ./cuda_bindings
56-
echo "Running bindinds tests"
57-
pwd
50+
echo "Running bindings tests"
5851
${SANITIZER_CMD} pytest -rxXs -v tests/
5952
if [[ "${SKIP_CYTHON_TEST}" == 0 ]]; then
6053
${SANITIZER_CMD} pytest -rxXs -v tests/cython
@@ -66,8 +59,6 @@ elif [[ "${test_module}" == "core" ]]; then
6659
if [[ "${SKIP_CUDA_BINDINGS_TEST}" == 1 ]]; then
6760
pushd "${CUDA_BINDINGS_ARTIFACTS_DIR}"
6861
echo "Installing bindings wheel"
69-
pwd
70-
ls
7162
if [[ "${LOCAL_CTK}" == 1 ]]; then
7263
pip install *.whl
7364
else
@@ -78,8 +69,6 @@ elif [[ "${test_module}" == "core" ]]; then
7869
TEST_CUDA_MAJOR="$(cut -d '.' -f 1 <<< ${CUDA_VER})"
7970
pushd "${CUDA_CORE_ARTIFACTS_DIR}"
8071
echo "Installing core wheel"
81-
pwd
82-
ls
8372

8473
FREE_THREADING=""
8574
if python -c 'import sys; assert not sys._is_gil_enabled()' 2> /dev/null; then
@@ -96,7 +85,6 @@ elif [[ "${test_module}" == "core" ]]; then
9685
popd
9786
pushd ./cuda_core
9887
echo "Running core tests"
99-
pwd
10088
${SANITIZER_CMD} pytest -rxXs -v tests/
10189
# Currently our CI always installs the latest bindings (from either major version).
10290
# This is not compatible with the test requirements.

0 commit comments

Comments
 (0)