mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-20 04:07:36 -04:00
Mark job as failed when build fails (#1891)
This commit is contained in:
parent
16bdcda07c
commit
fb86e7a5ac
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ for i in list_of_tests:
|
|||
else:
|
||||
metric.add_fail(*col)
|
||||
|
||||
if job_test_total == 0:
|
||||
if re.search("ERROR", log) != None or job_test_total == 0:
|
||||
metric.fail()
|
||||
|
||||
report = rb.Report(f'{job_test_pass}/{job_test_total}')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue