diff options
author | Stefano Babic <sbabic@denx.de> | 2021-10-21 13:57:38 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2021-10-21 13:58:13 +0200 |
commit | 5fac11e6d5ab350429b8c8ddf47d3d3877ca89d1 (patch) | |
tree | a6fd50ca6f8a79b0647469871fa99223a55d8a96 /test/py/test.py | |
parent | e03aa34bdf97f96ad478f7a105482d8231b98aa6 (diff) | |
parent | 79b8849d4c1e73df2a79a1d5a5f6166d0dd67a12 (diff) |
Merge branch 'master' of git://git.denx.de/u-boot
Signed-off-by: Stefano Babic <sbabic@denx.de>
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)) |