From 58e62ede46f9289a2e2a62fa45a29349b13c4b2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mochol=C3=AD?= Date: Wed, 3 Apr 2024 21:54:31 +0200 Subject: [PATCH] uh --- scripts/run_standalone_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run_standalone_tests.sh b/scripts/run_standalone_tests.sh index 1473f296c1..8256fc071a 100644 --- a/scripts/run_standalone_tests.sh +++ b/scripts/run_standalone_tests.sh @@ -44,7 +44,7 @@ status=0 for test in $tests; do CUDA_VISIBLE_DEVICES=$devices python -um pytest -sv "$test" --pythonwarnings ignore --junitxml="$test-results.xml" 2>&1 > "$test-output.txt" pytest_status=$? - result=$([ $pytest -eq 0 ] && echo "PASSED" || echo "returned status $pytest_status") + result=$([ $pytest_status -eq 0 ] && echo "PASSED" || echo "returned status $pytest_status") printf "$test result\n" if [ $pytest_status -ne 0 ]; then