mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-25 06:17:10 -04:00
Fixed wsim running iterelf tests/coverage
This commit is contained in:
parent
459eaaef6a
commit
affe15191e
1 changed files with 1 additions and 1 deletions
2
bin/wsim
2
bin/wsim
|
@ -44,7 +44,7 @@ elif (args.elf != ""):
|
||||||
print("ELF file not found: " + args.elf)
|
print("ELF file not found: " + args.elf)
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
if(args.testsuite.endswith('.elf')):
|
if(args.testsuite.endswith('.elf') and args.elf == ""): # No --elf argument; check if testsuite has a .elf extension and use that instead
|
||||||
if (os.path.isfile(args.testsuite)):
|
if (os.path.isfile(args.testsuite)):
|
||||||
ElfFile = "+ElfFile=" + os.path.abspath(args.testsuite)
|
ElfFile = "+ElfFile=" + os.path.abspath(args.testsuite)
|
||||||
args.testsuite=args.testsuite.rsplit('/', 1)[1]
|
args.testsuite=args.testsuite.rsplit('/', 1)[1]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue