diff options
author | adityacp | 2018-05-25 11:57:11 +0530 |
---|---|---|
committer | adityacp | 2018-06-07 14:50:47 +0530 |
commit | a2769e56ab99427beb196b85bf3fc125ffd9bac2 (patch) | |
tree | 3e524f66fc84f0f220bbae9f3235e5e6138044d7 /yaksh/cpp_code_evaluator.py | |
parent | 0adb0d3b79980544bb5a724ce3b106dbd8e01c9c (diff) | |
download | online_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.py | 3 |
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: |