diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2017-12-29 19:59:21 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2017-12-29 19:59:21 +0800 |
commit | 7f980ef5a3a143dcd63db6a505ee6a4787e8f780 (patch) | |
tree | 9b79791051febfbabb8f3f0ed81a94f5bb9d3c29 | |
parent | 9bf5f1382133469f4e2132df528bf0bc43fcc030 (diff) |
remove newlines for the error message
Change-Id: Ic51833c3f9fcef07a5c73b22036860e5c34377d8
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rwxr-xr-x | automated/android/tradefed/tradefed-runner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/android/tradefed/tradefed-runner.py b/automated/android/tradefed/tradefed-runner.py index 3c3181c..81541a1 100755 --- a/automated/android/tradefed/tradefed-runner.py +++ b/automated/android/tradefed/tradefed-runner.py @@ -104,7 +104,7 @@ def result_parser(xml_file, result_format): for failure in failures: failure_msg = '%s \n %s' % (failure_msg, failure.get('message')) - logger.info('%s %s' % (test_name, failure_msg)) + logger.info('%s %s' % (test_name, failure_msg.strip())) if result_format == ATOMIC: |