Skip to content

Commit ddd205a

Browse files
authored
Hot fix after #3891 (#3906)
#3891 (comment) Signed-off-by: Anatoly Myachev <[email protected]>
1 parent e797907 commit ddd205a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/test-triton.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,9 @@ run_unit_tests() {
188188

189189
run_pytest_command() {
190190
if [[ -n "$TRITON_TEST_SELECTFILE" ]]; then
191-
pytest "$@" --collect-only > /dev/null 2>&1 && pytest "$@" || true
191+
if pytest "$@" --collect-only > /dev/null 2>&1; then
192+
pytest "$@"
193+
fi
192194
else
193195
pytest "$@"
194196
fi

0 commit comments

Comments
 (0)