summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Shi <dshi@google.com>2020-04-09 23:27:52 -0700
committerHsin-Yi Chen <hsinyichen@google.com>2020-04-21 16:38:49 +0800
commit57c9b582c112a9c06d81d6a6d02349dfa253771d (patch)
tree7e8dd9d296822d3e168d1c3d5ce1f55001ea185f
parent387b9ee3f3bcd02ccd3e72ccbb21d641ce6d72aa (diff)
downloadvndk-57c9b582c112a9c06d81d6a6d02349dfa253771d.tar.gz
Update verbosity setting for python tests
Bug: 152440552 Test: None Change-Id: I37fc8f87802c61539dd8e102aa4b49c3b6dd4ce1 Merged-In: I37fc8f87802c61539dd8e102aa4b49c3b6dd4ce1 (cherry picked from commit 032fef84e4f3fc3e2714b705b3546583493264d6)
-rw-r--r--abi/vts_vndk_abi_test.py4
-rw-r--r--dependency/vts_vndk_dependency_test.py4
-rw-r--r--files/vts_vndk_files_test.py4
-rw-r--r--open_libraries/vts_vndk_open_libraries_test.py4
4 files changed, 12 insertions, 4 deletions
diff --git a/abi/vts_vndk_abi_test.py b/abi/vts_vndk_abi_test.py
index 56a5220..f9c81f2 100644
--- a/abi/vts_vndk_abi_test.py
+++ b/abi/vts_vndk_abi_test.py
@@ -358,4 +358,6 @@ class VtsVndkAbiTest(unittest.TestCase):
if __name__ == "__main__":
- unittest.main()
+ # Setting verbosity is required to generate output that the TradeFed test
+ # runner can parse.
+ unittest.main(verbosity=3)
diff --git a/dependency/vts_vndk_dependency_test.py b/dependency/vts_vndk_dependency_test.py
index 65d62c8..cd1ccf0 100644
--- a/dependency/vts_vndk_dependency_test.py
+++ b/dependency/vts_vndk_dependency_test.py
@@ -461,4 +461,6 @@ class VtsVndkDependencyTest(unittest.TestCase):
if __name__ == "__main__":
- unittest.main()
+ # Setting verbosity is required to generate output that the TradeFed test
+ # runner can parse.
+ unittest.main(verbosity=3)
diff --git a/files/vts_vndk_files_test.py b/files/vts_vndk_files_test.py
index bcab2b7..907b15b 100644
--- a/files/vts_vndk_files_test.py
+++ b/files/vts_vndk_files_test.py
@@ -180,4 +180,6 @@ class VtsVndkFilesTest(unittest.TestCase):
if __name__ == "__main__":
- unittest.main()
+ # Setting verbosity is required to generate output that the TradeFed test
+ # runner can parse.
+ unittest.main(verbosity=3)
diff --git a/open_libraries/vts_vndk_open_libraries_test.py b/open_libraries/vts_vndk_open_libraries_test.py
index aac1b66..b238142 100644
--- a/open_libraries/vts_vndk_open_libraries_test.py
+++ b/open_libraries/vts_vndk_open_libraries_test.py
@@ -159,4 +159,6 @@ class VtsVndkOpenLibrariesTest(unittest.TestCase):
if __name__ == "__main__":
- unittest.main()
+ # Setting verbosity is required to generate output that the TradeFed test
+ # runner can parse.
+ unittest.main(verbosity=3)