Skip to content

Commit b9ab509

Browse files
committed
add more exit code exceptions
1 parent 6772f42 commit b9ab509

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

ci/zig_benchmarks/run_fx_benchmarks.sh

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,22 @@ for fx_file in $FX_FILES; do
4343
echo "--- Benchmarking: $filename ---"
4444

4545
# Allow non-zero exit codes for files that are expected to fail
46+
# (compilation errors, runtime errors, or expected test failures)
4647
EXTRA_ARGS=""
47-
if [ "$filename" = "division_by_zero.roc" ]; then
48-
EXTRA_ARGS="--ignore-failure"
49-
fi
48+
case "$filename" in
49+
division_by_zero.roc|\
50+
issue8433.roc|\
51+
test_type_mismatch.roc|\
52+
run_allow_errors.roc|\
53+
parse_error.roc|\
54+
run_warning_only.roc|\
55+
issue8517.roc|\
56+
stack_overflow_runtime.roc|\
57+
issue8826_full.roc|\
58+
issue8943.roc)
59+
EXTRA_ARGS="--ignore-failure"
60+
;;
61+
esac
5062

5163
# Run hyperfine comparison
5264
if ! hyperfine \

0 commit comments

Comments
 (0)