summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorvalentin boucher <valentin.boucher@orange.com>2016-08-23 12:36:14 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-23 12:36:14 +0000
commit3c9c072e82feca7c374aa83fe7cb4466c71823ce (patch)
tree3549717074d57f7444a82be46ecaca9ec47ad606 /utils
parentaa427a97dcc96afe5b7c9c168470fd49e9331da8 (diff)
parent53fd052b7fce64294c50ca170d42367d711ccc3f (diff)
Merge "Avoid duplicating logs in run_tests.py"
Diffstat (limited to 'utils')
-rw-r--r--utils/functest_utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/functest_utils.py b/utils/functest_utils.py
index 4d5004cbe..b916ab129 100644
--- a/utils/functest_utils.py
+++ b/utils/functest_utils.py
@@ -309,7 +309,8 @@ def execute_command(cmd, logger=None,
logger.debug(msg_exec)
else:
print(msg_exec)
- p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE)
+ p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE,
+ stderr=subprocess.STDOUT)
for line in iter(p.stdout.readline, b''):
line = line.replace('\n', '')
if logger: