mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
Merge pull request #19403 from diablodale:fix_19402_python_test_filter_34
This commit is contained in:
commit
ca9cbab532
@ -34,8 +34,8 @@ def load_tests(loader, tests, pattern):
|
|||||||
else:
|
else:
|
||||||
print('WARNING: OpenCV tests config file ({}) is missing, running subset of tests'.format(config_file))
|
print('WARNING: OpenCV tests config file ({}) is missing, running subset of tests'.format(config_file))
|
||||||
|
|
||||||
tests_pattern = os.environ.get('OPENCV_PYTEST_FILTER', 'test_') + '*.py'
|
tests_pattern = os.environ.get('OPENCV_PYTEST_FILTER', 'test_*') + '.py'
|
||||||
if tests_pattern != 'test_*py':
|
if tests_pattern != 'test_*.py':
|
||||||
print('Tests filter: {}'.format(tests_pattern))
|
print('Tests filter: {}'.format(tests_pattern))
|
||||||
|
|
||||||
processed = set()
|
processed = set()
|
||||||
|
Loading…
Reference in New Issue
Block a user