16.01.2021 16:44, Vladimir Sementsov-Ogievskiy wrote:
Just use classes introduced in previous three commits. Behavior
difference is described in these three commits.
Drop group file, as it becomes unused.
Drop common.env: now check is in python, and for tests we use same
python interpreter that runs the check itself. Use build environment
PYTHON in check-block instead, to keep "make check" use the same
python.
Signed-off-by: Vladimir Sementsov-Ogievskiy<vsement...@virtuozzo.com>
squash-in to support group.local:
@@ -117,6 +117,13 @@ if __name__ == '__main__':
groups = args.groups.split(',') if args.groups else None
x_groups = args.exlude_groups.split(',') if args.exclude_groups else None
+ group_local = os.path.join(env.source_iotests, 'group.local')
+ if os.path.isfile(group_local):
+ try:
+ testfinder.add_group_file(group_local)
+ except ValueError as e:
+ sys.exit(f"Filed to parse group file '{group_local}': {e}")
+
try:
tests = testfinder.find_tests(groups=groups, exclude_groups=x_groups,
tests=args.tests,
--
Best regards,
Vladimir