summaryrefslogtreecommitdiff
path: root/files/vts_vndk_files_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'files/vts_vndk_files_test.py')
-rw-r--r--files/vts_vndk_files_test.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/files/vts_vndk_files_test.py b/files/vts_vndk_files_test.py
index 907b15b..51da520 100644
--- a/files/vts_vndk_files_test.py
+++ b/files/vts_vndk_files_test.py
@@ -18,6 +18,7 @@
import logging
import os
import posixpath as target_path_module
+import sys
import unittest
from vts.testcases.vndk import utils
@@ -180,6 +181,9 @@ class VtsVndkFilesTest(unittest.TestCase):
if __name__ == "__main__":
+ # The logs are written to stdout so that TradeFed test runner can parse the
+ # results from stderr.
+ logging.basicConfig(stream=sys.stdout)
# Setting verbosity is required to generate output that the TradeFed test
# runner can parse.
unittest.main(verbosity=3)