Commit 7ba134b2 authored by ufebl's avatar ufebl

Improve error message

parent 23ae4da6
......@@ -144,7 +144,8 @@ class BenchExecTest(BasicSyntaxTest):
else:
results.append(self._bench_command("./a.out", timeout=timeout, input_bytes=input_bytes))
except SigKill as sig:
_LOG.error("File \"{}\" can't be compiled".format(self.preprocessed_file))
_LOG.error("File \"{}\" can't be compiled with flags \"{}\"".format(self.preprocessed_file, compiler_flag))
_LOG.error("Errorcide: " + śig.retcode);
#test_result.incorrect_msg = "file can't be compiled: " + sig.name
#test_result.set_error_code(sig.retcode)
#test_result.add_file("Source file", self.preprocessed_file)
......
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