llvm.org GIT mirror llvm / 2804235
utils/lit/lit/TestFormats.py: [PR8438] unittests: Seek *Tests (not BUILD_MODE/*Tests) under whole unittests/ if BUILD_MODE == '.' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121118 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 8 years ago
1 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
5858 source_path = testSuite.getSourcePath(path_in_suite)
5959 for filename in os.listdir(source_path):
6060 # Check for the one subdirectory (build directory) tests will be in.
61 if not os.path.normcase(filename) in self.test_sub_dir:
62 continue
61 if not '.' in self.test_sub_dir:
62 if not os.path.normcase(filename) in self.test_sub_dir:
63 continue
6364
6465 filepath = os.path.join(source_path, filename)
6566 if not os.path.isdir(filepath):