nickg / nvc

VHDL compiler and simulator
https://www.nickg.me.uk/nvc/
GNU General Public License v3.0
589 stars 75 forks source link

--exit-severity=failure does not affect exit status #850

Closed m-kru closed 4 months ago

m-kru commented 4 months ago

I have a testbench where I expect errors (I verify that errors are detected correctly), but not failures. I am passing --exit-severity=failure to make simulation go on when errors are encountered. However, the exit status returned by the program is 1, not 0. My CI pipeline keeps failing, although everything is ok. Shouldn't --exit-severity=failure make simulation exit an error only when failure is encountered?