summaryrefslogtreecommitdiff
path: root/abi/vts_vndk_abi_test.py
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-05-28 01:14:55 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-05-28 01:14:55 +0000
commit51c065d4e70d34c962c65c77e11556695f500347 (patch)
treede392301419c1bcd75586a9c7bd5a7857739c24e /abi/vts_vndk_abi_test.py
parent8ef9b0d0343e62005c976e6a9eec49734af02148 (diff)
parent56acfb6bbee923bf188656c476c8b436e6ef2498 (diff)
downloadvndk-android11-d1-s1-release.tar.gz
Change-Id: Icb78c4ee25162a26fa113b3cdc079a8598c36dd8
Diffstat (limited to 'abi/vts_vndk_abi_test.py')
-rw-r--r--abi/vts_vndk_abi_test.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/abi/vts_vndk_abi_test.py b/abi/vts_vndk_abi_test.py
index f9c81f2..a14c9bb 100644
--- a/abi/vts_vndk_abi_test.py
+++ b/abi/vts_vndk_abi_test.py
@@ -19,6 +19,7 @@ import json
import logging
import os
import shutil
+import sys
import tempfile
import unittest
@@ -358,6 +359,9 @@ class VtsVndkAbiTest(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)