Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HDL
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
HDL
Commits
eb3d846f
Commit
eb3d846f
authored
Jun 11, 2019
by
Pieter Donker
Browse files
Options
Downloads
Patches
Plain Diff
changed timeout to 3 hours
parent
c57df147
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/oneclick/base/modelsim_regression_test_vhdl.py
+1
-1
1 addition, 1 deletion
tools/oneclick/base/modelsim_regression_test_vhdl.py
tools/oneclick/base/terminal.py
+4
-4
4 additions, 4 deletions
tools/oneclick/base/terminal.py
with
5 additions
and
5 deletions
tools/oneclick/base/modelsim_regression_test_vhdl.py
+
1
−
1
View file @
eb3d846f
...
@@ -56,7 +56,7 @@ import hdl_config
...
@@ -56,7 +56,7 @@ import hdl_config
import
modelsim_config
import
modelsim_config
import
terminal
import
terminal
TERMINAL_TIMEOUT
=
54
00
# timeout in seconds (
90 minute
s)
TERMINAL_TIMEOUT
=
3
*
36
00
# timeout in seconds (
3x3600 seconds = 3hour
s)
#TERMINAL_TIMEOUT = 60 # timeout in seconds for testing
#TERMINAL_TIMEOUT = 60 # timeout in seconds for testing
###############################################################################
###############################################################################
...
...
This diff is collapsed.
Click to expand it.
tools/oneclick/base/terminal.py
+
4
−
4
View file @
eb3d846f
...
@@ -93,14 +93,14 @@ class Terminal(object):
...
@@ -93,14 +93,14 @@ class Terminal(object):
def
handler
(
self
,
signum
,
frame
):
def
handler
(
self
,
signum
,
frame
):
self
.
_stdout
.
append
(
'
!
'
*
(
17
+
len
(
self
.
_cmd
))
+
'
\n
'
)
self
.
_stdout
.
append
(
'
!
'
*
(
17
+
len
(
self
.
_cmd
))
+
'
\n
'
)
self
.
_stdout
.
append
(
'
TIMEOUT on cmd: %s
\n
'
%
self
.
_cmd
)
self
.
_stdout
.
append
(
'
TIMEOUT
ERROR
on cmd: %s
\n
'
%
self
.
_cmd
)
self
.
_stdout
.
append
(
'
!
'
*
(
17
+
len
(
self
.
_cmd
))
+
'
\n
'
)
self
.
_stdout
.
append
(
'
!
'
*
(
17
+
len
(
self
.
_cmd
))
+
'
\n
'
)
if
self
.
_timeout_print
==
True
:
if
self
.
_timeout_print
==
True
:
print
(
self
.
stdout
())
# print stdout on timeout
print
(
self
.
stdout
())
# print stdout on timeout
print
(
'
!
'
*
(
17
+
len
(
self
.
_cmd
)))
#
print('!'*(17+len(self._cmd)))
print
(
'
TIMEOUT Error on cmd:
'
,
self
.
_cmd
)
#
print('TIMEOUT Error on cmd: ', self._cmd)
print
(
'
!
'
*
(
17
+
len
(
self
.
_cmd
)))
#
print('!'*(17+len(self._cmd)))
raise
OSError
(
"
Comm Timeout
"
)
raise
OSError
(
"
Comm Timeout
"
)
def
_run_cmd_get_exitcode
(
self
,
timeout
):
def
_run_cmd_get_exitcode
(
self
,
timeout
):
...
...
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
sign in
to comment