Commit 93d54ca9 authored by Sebastian Graf's avatar Sebastian Graf

Fix looping test regression due to a.out

parent 830c538f
......@@ -209,7 +209,7 @@ class JavaInfiniteLoopTest(BasicSyntaxTest):
return test_result
except SigKill as sig:
if sig.retcode == signal.SIGXCPU:
out, _, _, _ = self.env.run_command_till_timeout("./" + base_filename, timeout=1)
out, _, _, _ = self.env.run_command_till_timeout("./a.out", timeout=1)
test_result.add_long_text("Output", out.decode())
if self._has_output_file:
out = out.decode().strip()
......@@ -245,4 +245,4 @@ class JavaInfiniteLoopTest(BasicSyntaxTest):
return test_result
TestCase.TEST_CASE_CLASSES[TestMode.compile_firm].append(JavaInfiniteLoopTest)
\ No newline at end of file
TestCase.TEST_CASE_CLASSES[TestMode.compile_firm].append(JavaInfiniteLoopTest)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment