diff options
author | Tom Rini <trini@konsulko.com> | 2021-10-15 07:50:59 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-15 07:50:59 -0400 |
commit | 2d34be0a9e12cf050de39ad95375213f48e685bd (patch) | |
tree | eec9902ce120d15c0868a9024e2c9e4adc947132 /test/py/test.py | |
parent | 10cd8efe1a7eacd63907ba95bd8442bc2cdce461 (diff) | |
parent | 35b2b5f04c71efb73ec0f1a01535542e4b602e15 (diff) |
Merge branch '2021-10-14-assorted-updates'
- Update to LLVM-13 in CI, assorted PCI fixes and pytest in CI
improvements
Diffstat (limited to 'test/py/test.py')
-rwxr-xr-x | test/py/test.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/py/test.py b/test/py/test.py index 285fda54258..95859a66e29 100755 --- a/test/py/test.py +++ b/test/py/test.py @@ -17,4 +17,9 @@ if __name__ == '__main__': # argv; py.test test_directory_name user-supplied-arguments args = [os.path.dirname(__file__) + '/tests'] args.extend(sys.argv) + + # Use short format by default + if not [arg for arg in args if '--tb=' in arg]: + args.append('--tb=short') + sys.exit(pytest.main(args)) |