Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RadioHDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
RadioHDL
Merge requests
!22
Resolve
L2SDP-995
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Merged
Resolve
L2SDP-995
L2SDP-995
into
master
Overview
0
Commits
3
Pipelines
0
Changes
1
Merged
Pieter Donker
requested to merge
L2SDP-995
into
master
1 year ago
Overview
0
Commits
3
Pipelines
0
Changes
1
Expand
Closes
L2SDP-995
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
f4721a89
3 commits,
1 year ago
1 file
+
11
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
regressiontest/modelsim_regression_test_vhdl.py
+
11
−
5
Options
@@ -79,7 +79,7 @@ from terminal import Terminal
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
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
):
@@ -700,11 +700,17 @@ class TestBenchWorker(multiprocessing.Process):
The do_log is a string containing e.g. the transcipt output.
- For make (mk) the error string is
'
Error:
'
- 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
:
return
True
else
:
return
False
err
=
False
for
line
in
do_log
.
splitlines
():
if
"
Fatal:
"
in
line
:
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
):
"""
Loading