| commit | 0fdfdcf61cd436faf7cf9b8be2596df9c6ca6010 | [log] [tgz] |
|---|---|---|
| author | Lalit Maganti <lalitm@google.com> | Tue Aug 25 15:55:10 2020 +0100 |
| committer | Lalit Maganti <lalitm@google.com> | Wed Aug 26 13:18:15 2020 +0000 |
| tree | 5538a9d18cc06c564caf93d096a5ed9f488d12d9 | |
| parent | 7023f47299aa157951b4677ee4450cac58685a2d [diff] [blame] |
tp: fix python test runner not returning errors on failure Change-Id: I1eed2d0a76ac2f0c3ddde550336fcb2c1bd18370
diff --git a/tools/run_python_api_tests.py b/tools/run_python_api_tests.py index 390c13d..f468896 100755 --- a/tools/run_python_api_tests.py +++ b/tools/run_python_api_tests.py
@@ -47,6 +47,8 @@ runner = unittest.TextTestRunner(verbosity=3) result = runner.run(suite) + return 0 if result.wasSuccessful() else 1 + if __name__ == '__main__': sys.exit(main())