Merge "releasetools: Log to stdout when running tests."

This commit is contained in:
Treehugger Robot
2018-10-19 02:58:47 +00:00
committed by Gerrit Code Review

View File

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