From 93d54ca90683f313e22e9ba29acd5751286cde7a Mon Sep 17 00:00:00 2001 From: Sebastian Graf Date: Sat, 3 Dec 2016 16:04:57 +0100 Subject: [PATCH] Fix looping test regression due to a.out --- mjtest/test/exec_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mjtest/test/exec_tests.py b/mjtest/test/exec_tests.py index fd82562..3f97fa8 100644 --- a/mjtest/test/exec_tests.py +++ b/mjtest/test/exec_tests.py @@ -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) -- GitLab