[dv] Add option to ignore cosim log to testlist

The riscv_csr_test does not use cosim but was failing due to lack of a
cosim log. This option skips the stage of pass/fail determination that
looks for that log.
This commit is contained in:
Greg Chadwick 2022-07-22 21:50:20 +01:00 committed by Greg Chadwick
parent 5fe158e222
commit 6518cb6db6
2 changed files with 2 additions and 1 deletions

View file

@ -117,7 +117,7 @@ def compare_test_run(test: TestEntry,
'[FAILED]: Log processing failed: {}'.format(e)
return TestRunResult(**kv_data)
if en_cosim:
if en_cosim and not test.get('ignore_cosim_log', False):
# Process the cosim logfile to check for errors
kv_data['cosim_trace'] = cosim_trace
kv_data['cosim_trace_csv'] = cosim_trace + '.csv'

View file

@ -508,6 +508,7 @@
sim_opts: >
+disable_cosim=1
no_post_compare: true
ignore_cosim_log: true
- test: riscv_unaligned_load_store_test
description: >