Skip to content

Commit

Permalink
Fix: call 'exit 1' only if test times out (fix command precedence) (#280
Browse files Browse the repository at this point in the history
)
  • Loading branch information
0xNeshi committed Sep 12, 2024
1 parent a542481 commit 4cad208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/verify-exercises
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ for exercise_path in $exercises; do

cd "$tmp_dir"

timeout 20 scarb cairo-test --include-ignored || echo "$exercise timed out" && exit 1
timeout 20 scarb cairo-test --include-ignored || (echo "$exercise timed out" && exit 1)

rm -rf "$tmp_dir"
done

0 comments on commit 4cad208

Please sign in to comment.