Avoid duplicating logs in run_tests.py 37/19337/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Tue, 23 Aug 2016 11:25:02 +0000 (13:25 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Tue, 23 Aug 2016 11:41:17 +0000 (13:41 +0200)
commit53fd052b7fce64294c50ca170d42367d711ccc3f
tree0395085983ba4d3b95a6cd4447c7bf3d1c659335
parentda6398642446f98240d9d1bf924e959e64a73d63
Avoid duplicating logs in run_tests.py

When run_tests.py sets logger as execute_command arg, logs are
duplicated in functest.log and not shown in console (as every DEBUG
message). As logger is mainly managed by the python scripts in charge
of testing, it can be safely removed here.
stderr is also redirected to stdout in execute_command to print
possible relevant data.

JIRA: FUNCTEST-431

Change-Id: Ie77544b4679e12e0a0ac7f5e5989d86862fe106b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
ci/run_tests.py
utils/functest_utils.py