Skip to content
Snippets Groups Projects
Commit eb3d846f authored by Pieter Donker's avatar Pieter Donker
Browse files

changed timeout to 3 hours

parent c57df147
Branches
No related tags found
No related merge requests found
...@@ -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 = 5400 # timeout in seconds (90 minutes) TERMINAL_TIMEOUT = 3*3600 # timeout in seconds (3x3600 seconds = 3hours)
#TERMINAL_TIMEOUT = 60 # timeout in seconds for testing #TERMINAL_TIMEOUT = 60 # timeout in seconds for testing
############################################################################### ###############################################################################
......
...@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment