diff --git a/test/runner/lib/executor.py b/test/runner/lib/executor.py index c422022a069..82ceeb95d97 100644 --- a/test/runner/lib/executor.py +++ b/test/runner/lib/executor.py @@ -1213,7 +1213,7 @@ def command_units(args): raise AllTargetsSkipped() if args.delegate: - raise Delegate(require=changes) + raise Delegate(require=changes, exclude=args.exclude) version_commands = [] diff --git a/test/runner/lib/sanity/__init__.py b/test/runner/lib/sanity/__init__.py index ed4b0a5fece..724d1fcab5b 100644 --- a/test/runner/lib/sanity/__init__.py +++ b/test/runner/lib/sanity/__init__.py @@ -65,7 +65,7 @@ def command_sanity(args): raise AllTargetsSkipped() if args.delegate: - raise Delegate(require=changes) + raise Delegate(require=changes, exclude=args.exclude) install_command_requirements(args)