diff --git a/dev/run-tests.py b/dev/run-tests.py index e42e07354c263..94b517d270dfd 100755 --- a/dev/run-tests.py +++ b/dev/run-tests.py @@ -113,10 +113,11 @@ def determine_modules_to_test(changed_modules): modules_to_test = set() for module in changed_modules: modules_to_test = modules_to_test.union(determine_modules_to_test(module.dependent_modules)) + modules_to_test = modules_to_test.union(set(changed_modules)) # If we need to run all of the tests, then we should short-circuit and return 'root' if modules.root in modules_to_test: return [modules.root] - return modules_to_test.union(set(changed_modules)) + return modules_to_test def determine_tags_to_exclude(changed_modules):