Commit 341fb062 authored by Johannes Bechberger's avatar Johannes Bechberger
Browse files

Fix #72

parent d8ecfb73
......@@ -162,7 +162,6 @@ class JavaExecTest(BasicSyntaxTest):
out = out.decode()
if self.type == self.MODE and self.env.mode == self.MODE:
test_result.add_long_text("Output", out)
if exp_out.strip() != out.strip():
test_result.incorrect_msg = "incorrect output"
test_result.has_succeeded = False
......@@ -173,6 +172,8 @@ class JavaExecTest(BasicSyntaxTest):
test_result.add_file("Source file", self.preprocessed_file)
if self._input_file:
test_result.add_file("Input file", self.file)
test_result.add_long_text("Output", out)
return test_result
return BasicTestResult(self, rtcode, out, err.decode())
Supports Markdown
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