1 | # -*- Python -*- |
2 | |
3 | import os |
4 | import lit.formats |
5 | |
6 | from lit.llvm import llvm_config |
7 | |
8 | # Configuration file for the 'lit' test runner. |
9 | |
10 | # name: The name of this test suite. |
11 | config.name = 'Clang-Concepts-TS-Unsupported' |
12 | |
13 | # testFormat: The test format to use to interpret tests. |
14 | # |
15 | # For now we require '&&' between commands, until they get globally killed and |
16 | # the test runner updated. |
17 | config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell) |
18 | |
19 | # suffixes: A list of file extensions to treat as test files. |
20 | config.suffixes = ['.c', '.cpp', '.cppm', '.m', '.mm', '.cu', |
21 | '.ll', '.cl', '.s', '.S', '.modulemap', '.test', '.rs'] |
22 | |
23 | config.unsupported = True |
24 | |
25 | # test_source_root: The root path where tests are located. |
26 | config.test_source_root = os.path.dirname(__file__) |
27 | |