Commit 830c538f authored by Johannes Bechberger's avatar Johannes Bechberger

Fixed compile-firm tests

They should expect the compiled to be name `a.out`
parent 28ca892f
......@@ -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)
......
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