Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
IPDSnelting
mjtest
Commits
01dec80c
Commit
01dec80c
authored
Dec 13, 2021
by
sebastian.graf
Browse files
Revert "Removed the compilation timeout"
This reverts commit
f290b58b
.
parent
ae962939
Changes
1
Hide whitespace changes
Inline
Side-by-side
mjtest/test/exec_tests.py
View file @
01dec80c
...
...
@@ -120,7 +120,7 @@ class JavaExecTest(BasicSyntaxTest):
try
:
out
,
err
,
rtcode
=
None
,
None
,
None
try
:
out
,
err
,
rtcode
=
self
.
env
.
run_mj_command
(
self
.
MODE
,
base_filename
+
".java"
,
timeout
=
-
1
)
out
,
err
,
rtcode
=
self
.
env
.
run_mj_command
(
self
.
MODE
,
base_filename
+
".java"
,
timeout
=
timeout
)
if
rtcode
!=
0
:
test_result
.
incorrect_msg
=
"file can't be compiled"
test_result
.
set_error_code
(
rtcode
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment