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."""