[dv] Fix name of ELF file in report

The name of the ELF file was wrong in the regr.log file, it should be
e.g. `riscv_debug_ebreakmu_test_9.o`, not
`riscv_debug_ebreakmu_test.9.o`.
This commit is contained in:
Philipp Wagner 2021-03-22 16:32:19 +00:00 committed by Philipp Wagner
parent c1e287e13b
commit 907a3f6ec7

View file

@ -436,7 +436,7 @@ def compare_test_run(test, idx, iss, output_dir, report):
with open(report, 'a') as report_fd:
test_name = test['test']
elf = os.path.join(output_dir,
'instr_gen/asm_test/{}.{}.o'.format(test_name, idx))
'instr_gen/asm_test/{}_{}.o'.format(test_name, idx))
logging.info("Comparing %s/DUT sim result : %s" % (iss, elf))