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?
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?