Skip to content

Commit c3ea03d

Browse files
[sycl-bisect] Add missing exit (intel#6771)
This script has been missing one call to exit, which causes control to fall through and run successful tests a second time when using --command without --command-allow-bisect-codes. This didn't change the results of the script, but it did make it slower if the test command takes a while to run.
1 parent 39eb5ed commit c3ea03d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

devops/scripts/test-commit-sycl-bisect.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ fi
129129
cd "$TEST_WD"
130130
if [[ "$COMMAND_ALLOW_BISECT_CODES" == "" ]]; then
131131
bash -c "$COMMAND" || exit 1
132+
exit
132133
fi
133134

134135
# Otherwise, just run the command.

0 commit comments

Comments
 (0)