Avoid duplicating logs in run_tests.py 47/19347/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Tue, 23 Aug 2016 11:25:02 +0000 (13:25 +0200)
committervalentin boucher <valentin.boucher@orange.com>
Tue, 23 Aug 2016 12:36:26 +0000 (12:36 +0000)
commite7ee11c43729c0c5eaa681e28c7aa7d80bcc93af
tree3549717074d57f7444a82be46ecaca9ec47ad606
parent777ea60355095a13bbad23ee33197b2815957969
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>
(cherry picked from commit 53fd052b7fce64294c50ca170d42367d711ccc3f)
ci/run_tests.py
utils/functest_utils.py