effekt.sh returns 0 even if it fails
IR0NSIGHT opened this issue · comments
IR0NSIGHT commented
im trying to set up a CI pipeline that compiles/runs my benchmarks to catch any incorrect stuff from passing into main branch.
but it seems that effekt.sh always returns 0 (zero) even if running fails.
Ran on bash ubuntu 22.04:
max-priv@NOAH367-L:~/Dokumente/repos/fasteffekt$ effekt.sh src/permute.effekt && echo "$?"
[error] src/permute.effekt:2:1: Cannot find source for examples/fasteffekt/benchmark
import examples/fasteffekt/benchmark
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 # this should 1 or another non-zero code
Jonathan Immanuel Brachthäuser commented
Thanks, closing this due to being a duplicate