Commit e181c75b authored by ufebl's avatar ufebl

Convert int to string

parent a7d267a1
......@@ -78,7 +78,7 @@ class BenchExecTest(BasicSyntaxTest):
return _RunResult([-1,0], False);
except SigKill as sig:
_LOG.error("File \"{}\" can't be run with flags \"{}\"".format(self.preprocessed_file, compiler_flag))
_LOG.error("Error: " + sig.name.strip() +" " + sig.retcode)
_LOG.error("Error: " + sig.name.strip() +" " + str(sig.retcode))
return _RunResult([-1,0], False);
except:
raise
......@@ -156,7 +156,7 @@ class BenchExecTest(BasicSyntaxTest):
results.append(self._bench_command("./a.out", compiler_flag = compiler_flag, timeout=timeout, input_bytes=input_bytes))
except SigKill as sig:
_LOG.error("File \"{}\" can't be compiled with flags \"{}\"".format(self.preprocessed_file, compiler_flag))
_LOG.error("Errorcide: " + sig.retcode);
_LOG.error("Errorcode: " + str(sig.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