diff options
author | Tom Rini <trini@konsulko.com> | 2021-01-29 13:50:06 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-01-29 13:50:06 -0500 |
commit | 79382e97663c82dabe28e69ff0aa2d2f12131792 (patch) | |
tree | 486a33a76338e968e18cef06f626f1c7b45aba9a /test/py/test.py | |
parent | 07394fb05e4d48fee360ef38c96b3ef0576b7352 (diff) | |
parent | 7fd892b21530a60753c48db22f64e3415216faf6 (diff) |
Merge branch '2021-01-29-assorted-fixes'
- Assorted test fixes
- Assorted minor FAT fixes
- Assorted Kconfig dependency fixes
- MediaTek, vexpress_aemv8a improvements
- Other assorted minor fixes
Diffstat (limited to 'test/py/test.py')
-rwxr-xr-x | test/py/test.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/py/test.py b/test/py/test.py index bee88d96bc2..285fda54258 100755 --- a/test/py/test.py +++ b/test/py/test.py @@ -10,11 +10,11 @@ import os import os.path import sys +import pytest from pkg_resources import load_entry_point -# argv; py.test test_directory_name user-supplied-arguments -args = [os.path.dirname(__file__) + '/tests'] -args.extend(sys.argv) - if __name__ == '__main__': - sys.exit(load_entry_point('pytest', 'console_scripts', 'pytest')(args)) + # argv; py.test test_directory_name user-supplied-arguments + args = [os.path.dirname(__file__) + '/tests'] + args.extend(sys.argv) + sys.exit(pytest.main(args)) |