diff options
author | Tao Bao <tbao@google.com> | 2018-10-18 21:07:59 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-10-18 21:07:59 -0700 |
commit | 395b920354a4be569baef4bd0785a292435bbc0d (patch) | |
tree | 4edb98de6b1163d1aaf86cdcb98a1937eaaf55c0 | |
parent | 138265ff5cc5c6c6e0d82642afb9f505ac33b557 (diff) | |
parent | 60c342189600637b9acd1c8f9ee33f421938cfc9 (diff) | |
download | build-pie-temp.tar.gz |
Merge "releasetools: Log to stdout when running tests."pie-temp
am: 60c3421896
Change-Id: I3d3d3c586833297ec8e030c59ab4dbae546ac5b1
-rw-r--r-- | tools/releasetools/test_utils.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/releasetools/test_utils.py b/tools/releasetools/test_utils.py index b9c8dc7261..edb3d41d29 100644 --- a/tools/releasetools/test_utils.py +++ b/tools/releasetools/test_utils.py @@ -18,13 +18,18 @@ Utils for running unittests. """ +import logging import os import os.path import struct +import sys import unittest import common +# Some test runner doesn't like outputs from stderr. +logging.basicConfig(stream=sys.stdout) + def get_testdata_dir(): """Returns the testdata dir, in relative to the script dir.""" |