mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 12:57:13 -04:00
[ibex/dv] return non-zero exit code upon failure
Currently the Ibex run scripts return 0 no matter what the test result is. To get Ibex sims correctly integrated into CI, the Makefile needs to return 1 upon seeing a log comparison failure to indicate an error. Signed-off-by: Udi Jonnalagadda <udij@google.com>
This commit is contained in:
parent
931b291749
commit
5d4c9aebe2
1 changed files with 2 additions and 1 deletions
|
@ -618,7 +618,8 @@ def main():
|
|||
|
||||
# Compare RTL & ISS simulation result.
|
||||
if steps['compare']:
|
||||
compare(matched_list, args.iss, args.o)
|
||||
if not compare(matched_list, args.iss, args.o):
|
||||
return RET_FAIL
|
||||
|
||||
# Generate merged coverage directory and load it into appropriate GUI
|
||||
if steps['cov']:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue