mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-03 10:15:19 +00:00
Avoid printing junk when running regression
This commit is contained in:
parent
576545e328
commit
2dda311df8
@ -162,7 +162,7 @@ def run_test_case(config):
|
|||||||
"""Run the given test case, and return 0 if the test suceeds and 1 if it fails"""
|
"""Run the given test case, and return 0 if the test suceeds and 1 if it fails"""
|
||||||
logname = "logs/"+config.variant+"_"+config.name+".log"
|
logname = "logs/"+config.variant+"_"+config.name+".log"
|
||||||
cmd = config.cmd.format(logname)
|
cmd = config.cmd.format(logname)
|
||||||
print(cmd)
|
# print(cmd)
|
||||||
os.chdir(regressionDir)
|
os.chdir(regressionDir)
|
||||||
os.system(cmd)
|
os.system(cmd)
|
||||||
if search_log_for_text(config.grepstr, logname):
|
if search_log_for_text(config.grepstr, logname):
|
||||||
|
Loading…
Reference in New Issue
Block a user