Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Check modules to test correctly
  • Loading branch information
HyukjinKwon committed Jun 22, 2016
commit 84ad6797d22966c04f07cb71afe8369dc25cafb3
3 changes: 2 additions & 1 deletion dev/run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,10 @@ def determine_modules_to_test(changed_modules):
for module in changed_modules:
modules_to_test = modules_to_test.union(determine_modules_to_test(module.dependent_modules))
# If we need to run all of the tests, then we should short-circuit and return 'root'
modules_to_test = modules_to_test.union(set(changed_modules))
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):
Expand Down