aboutsummaryrefslogtreecommitdiff
path: root/tools/releasetools/test_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/releasetools/test_utils.py')
-rw-r--r--tools/releasetools/test_utils.py5
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."""