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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
RadioHDL
Commits
6aebba6d
Commit
6aebba6d
authored
1 year ago
by
Eric Kooistra
Browse files
Options
Downloads
Plain Diff
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
!22
Resolve L2SDP-995
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
regressiontest/modelsim_regression_test_vhdl.py
+11
-5
11 additions, 5 deletions
regressiontest/modelsim_regression_test_vhdl.py
with
11 additions
and
5 deletions
regressiontest/modelsim_regression_test_vhdl.py
+
11
−
5
View file @
6aebba6d
...
@@ -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
):
"""
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment