mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Move existing target determinator to tools (#63809)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/63809 This moves out the modulefinder determinator to `tools/testing` since it is supposed to be CI-only. This also simplifies run_test.py a little bit. Test Plan: Imported from OSS Reviewed By: malfet, seemethere, janeyx99 Differential Revision: D30497438 Pulled By: driazati fbshipit-source-id: 1d203037af5af6a20c1e7812da935e7cbb5cd82f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
7edeead796
commit
ab5cf5a1eb
@ -30,7 +30,7 @@ class DeterminationTest(unittest.TestCase):
|
||||
return [
|
||||
test
|
||||
for test in cls.TESTS
|
||||
if run_test.determine_target(run_test.TARGET_DET_LIST, test, changed_files, DummyOptions())
|
||||
if run_test.should_run_test(run_test.TARGET_DET_LIST, test, changed_files, DummyOptions())
|
||||
]
|
||||
|
||||
def test_config_change_only(self):
|
||||
|
Reference in New Issue
Block a user