mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-20 03:47:20 -04:00
Merge pull request #1372 from jordancarlin/dev
Fix regression-wally test selection
This commit is contained in:
commit
773a01608a
1 changed files with 2 additions and 3 deletions
|
@ -327,8 +327,7 @@ def addTestsByDir(testDir, config, sim, coverStr, configs, lockstepMode=0, breke
|
|||
|
||||
sim_logdir = f"{regressionDir}/{sim}/logs/"
|
||||
cmdPrefix = f"wsim --sim {sim} {coverStr} {'--lockstep' if lockstepMode else ''} {config}"
|
||||
# fcov/ccov only runs on WALLY-COV-ALL.elf files; other lockstep runs on all files
|
||||
fileStart = "WALLY-COV-ALL" if "cvw-arch-verif/tests" in testDir and "priv" not in testDir else "ref" if "riscv-arch-test" in testDir else ""
|
||||
fileStart = "ref" if "riscv-arch-test" in testDir else ""
|
||||
fileEnd = ".elf"
|
||||
if lockstepMode:
|
||||
gs = "Mismatches : 0"
|
||||
|
@ -476,7 +475,7 @@ def selectTests(args, sims, coverStr):
|
|||
if args.breker:
|
||||
addTestsByDir(WALLY+"/tests/breker/work", "breker", "questa", coverStr, configs, brekerMode=1)
|
||||
# standard tests
|
||||
if not (args.testfloat or args.branch):
|
||||
if not(args.testfloat or args.ccov or args.fcov or args.fcov_act or args.branch or args.breker):
|
||||
for sim in sims:
|
||||
if not (args.buildroot and sim == lockstepsim): # skip short buildroot sim if running long one
|
||||
addTests(tests_buildrootshort, sim, coverStr, configs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue