Skip to content
Snippets Groups Projects
Commit 6aebba6d authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Merge branch 'L2SDP-995' into 'master'

Resolve L2SDP-995

Closes L2SDP-995

See merge request !22
parents 3c8b56e2 f4721a89
No related branches found
No related tags found
1 merge request!22Resolve L2SDP-995
...@@ -79,7 +79,7 @@ from terminal import Terminal ...@@ -79,7 +79,7 @@ from terminal import Terminal
MAX_PROC = 4 # maximum number of processes to run, each process needs a modelsim license MAX_PROC = 4 # maximum number of processes to run, each process needs a modelsim license
MK_TIMEOUT = 20 * 60 # timeout in seconds (1x60 seconds = 1 min(s)) for each *_mk.do command MK_TIMEOUT = 20 * 60 # timeout in seconds (1x60 seconds = 1 min(s)) for each *_mk.do command
SIM_TIMEOUT = 3 * 3600 # timeout in seconds (1x3600 seconds = 1 hour(s)) for each *_sim.do command SIM_TIMEOUT = 4 * 3600 # timeout in seconds (1x3600 seconds = 1 hour(s)) for each *_sim.do command
def main(args, time_ordered_tb_dict): def main(args, time_ordered_tb_dict):
...@@ -700,11 +700,17 @@ class TestBenchWorker(multiprocessing.Process): ...@@ -700,11 +700,17 @@ class TestBenchWorker(multiprocessing.Process):
The do_log is a string containing e.g. the transcipt output. The do_log is a string containing e.g. the transcipt output.
- For make (mk) the error string is 'Error:' - For make (mk) the error string is 'Error:'
- For simulation there are several error strings. - For simulation there are several error strings.
- Ignore finished Failure: 'Failure: Tb Simulation finished.'
""" """
if "Fatal:" in do_log or "Error:" in do_log or "Failure:" in do_log: err = False
return True for line in do_log.splitlines():
else: if "Fatal:" in line:
return False err = True
if "Error:" in line:
err = True
if "Failure:" in line and "Tb Simulation finished" not in line:
err = True
return err
def run_mk_all(self): def run_mk_all(self):
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment