Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
uceme
mjtest
Commits
830c538f
Commit
830c538f
authored
Dec 03, 2016
by
Johannes Bechberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compile-firm tests
They should expect the compiled to be name `a.out`
parent
28ca892f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mjtest/test/exec_tests.py
mjtest/test/exec_tests.py
+2
-2
No files found.
mjtest/test/exec_tests.py
View file @
830c538f
...
...
@@ -111,7 +111,7 @@ class JavaExecTest(BasicSyntaxTest):
os
.
chdir
(
cwd
)
raise
try
:
out
,
err
,
rtcode
=
self
.
env
.
run_command
(
"./
"
+
base_filename
,
timeout
=
timeout
)
out
,
err
,
rtcode
=
self
.
env
.
run_command
(
"./
a.out"
,
timeout
=
timeout
)
if
rtcode
!=
0
:
test_result
.
incorrect_msg
=
"binary can't be run, non zero error code"
test_result
.
set_error_code
(
rtcode
)
...
...
@@ -198,7 +198,7 @@ class JavaInfiniteLoopTest(BasicSyntaxTest):
test_result
.
add_file
(
"Source file"
,
self
.
preprocessed_file
)
os
.
chdir
(
cwd
)
return
test_result
out
,
err
,
rtcode
=
self
.
env
.
run_command
(
"./
"
+
base_filename
,
timeout
=
timeout
)
out
,
err
,
rtcode
=
self
.
env
.
run_command
(
"./
a.out"
,
timeout
=
timeout
)
if
rtcode
!=
0
:
test_result
.
incorrect_msg
=
"binary can't be run, non zero error code"
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