浏览代码

Merge pull request #9720 from AttilaVamos/HPCC-17065-fix-6.4.0

HPCC-17065 Regression suite should not report stdout from failed eclcc

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 8 年之前
父节点
当前提交
1ad4d5b664
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      testing/regress/hpcc/common/shell.py

+ 1 - 1
testing/regress/hpcc/common/shell.py

@@ -54,7 +54,7 @@ class Shell:
         if retCode or ((len(stderr) > 0) and ('Error' in stderr)):
             exception = CalledProcessError(
                 process.returncode, repr(args))
-            err_msg = "retCode: "+str(retCode)+", msg:'"+str(''.join(filter(None, [stdout, stderr])))+"'"
+            err_msg = "retCode: "+str(retCode)+"\n'"+str(''.join(filter(None, [stderr])))+"'"
             exception.output = err_msg
             logging.debug("exception.output:'%s'",  err_msg)
             raise Error('1001', err=str(err_msg))