Less hacky implementation of simulation log and searched log

This commit is contained in:
slmnemo 2024-04-17 10:41:12 -07:00
parent b5ef66dc3c
commit d39f1ebefc

View File

@ -366,13 +366,13 @@ if (testfloat):
if ("f_" in config):
tests.remove("cvtfp")
for test in tests:
sim_log = WALLY + "/sim/questa/logs/"+config+"_"+test+".log"
tc = TestCase(
name=test,
variant=config,
cmd="wsim --tb testbench_fp --sim questa " + config + " " + test,
cmd="wsim --tb testbench_fp --sim questa " + config + " " + test + " > " + sim_log,
grepstr="All Tests completed with 0 errors",
logfile = WALLY + "/sim/questa/logs/"+config+"_"+test+".log",
overwrite = 1)
logfile = WALLY + "/sim/questa/logs/"+config+"_"+test+".log")
configs.append(tc)