mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-22 04:47:41 -04:00
Fix wsim to use absolute path for ELF
This commit is contained in:
parent
f7797d6092
commit
4528b4ee2a
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ def run_test_case(elf):
|
|||
if (fields[2] == "ref"):
|
||||
shortelf = fields[1] + "_" + fields[3]
|
||||
else:
|
||||
shorelf = fields[2] + "_" + fields[3]
|
||||
shortelf = fields[2] + "_" + fields[3]
|
||||
# shortelf = fields[1] + "_" + fields[2]
|
||||
logfile = WALLY + "/sim/" + args.sim + "/logs/" + shortelf + ".log"
|
||||
cmd = "wsim " + args.config + " " + shortelf + " --elf " + elf + " --sim " + args.sim + " --lockstep > " + logfile # add coveerage flags if necessary
|
||||
|
|
2
bin/wsim
2
bin/wsim
|
@ -40,7 +40,7 @@ DirectorMode = 0
|
|||
WALLY = os.environ.get('WALLY')
|
||||
|
||||
if(os.path.isfile(args.elf)):
|
||||
ElfFile = "+ElfFile=" + args.elf
|
||||
ElfFile = "+ElfFile=" + os.path.abspath(args.elf)
|
||||
|
||||
# Validate arguments
|
||||
if (args.gui or args.coverage or args.fcov or args.lockstep):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue