Commit c2dd99e5 authored by ufebl's avatar ufebl

Try to fetch error output if compilation fails

parent 18a607c5
......@@ -132,6 +132,7 @@ class JavaExecTest(BasicSyntaxTest):
except SigKill as sig:
test_result.incorrect_msg = "file can't be compiled: " + sig.name
test_result.set_error_code(sig.retcode)
test_result.add_long_text("Error output", decode(err))
test_result.add_file("Source file", self.preprocessed_file)
os.chdir(cwd)
return test_result
......
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