summaryrefslogtreecommitdiff
path: root/yaksh/cpp_code_evaluator.py
diff options
context:
space:
mode:
authoradityacp2018-05-25 11:57:11 +0530
committeradityacp2018-06-07 14:50:47 +0530
commita2769e56ab99427beb196b85bf3fc125ffd9bac2 (patch)
tree3e524f66fc84f0f220bbae9f3235e5e6138044d7 /yaksh/cpp_code_evaluator.py
parent0adb0d3b79980544bb5a724ce3b106dbd8e01c9c (diff)
downloadonline_test-a2769e56ab99427beb196b85bf3fc125ffd9bac2.tar.gz
online_test-a2769e56ab99427beb196b85bf3fc125ffd9bac2.tar.bz2
online_test-a2769e56ab99427beb196b85bf3fc125ffd9bac2.zip
Add tests for models and cpp, java evaluators
Diffstat (limited to 'yaksh/cpp_code_evaluator.py')
-rw-r--r--yaksh/cpp_code_evaluator.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/yaksh/cpp_code_evaluator.py b/yaksh/cpp_code_evaluator.py
index 7ab06ec..8bd3beb 100644
--- a/yaksh/cpp_code_evaluator.py
+++ b/yaksh/cpp_code_evaluator.py
@@ -129,7 +129,6 @@ class CppCodeEvaluator(BaseEvaluator):
if stdnt_stderr == '':
proc, main_out, main_err = self.compiled_test_code
main_err = self._remove_null_substitute_char(main_err)
-
if main_err == '':
ret = self._run_command([self.ref_output_path],
stdin=None,
@@ -143,7 +142,7 @@ class CppCodeEvaluator(BaseEvaluator):
else:
err = "{0} \n {1}".format(stdout, stderr)
else:
- err = "Error:"
+ err = "Test case Error:"
try:
error_lines = main_err.splitlines()
for e in error_lines: