Daniel Dunbar | 33b7f45 | 2009-09-16 01:40:13 +0000 | [diff] [blame] | 1 | # -*- Python -*- |
| 2 | |
| 3 | # Configuration file for the 'lit' test runner. |
| 4 | |
| 5 | # Load the main clang test config so we can leech its clang finding logic. |
| 6 | lit.load_config(config, os.path.join(os.path.dirname(__file__), |
| 7 | '..', '..', 'test', 'lit.cfg')) |
| 8 | assert config.clang, "Failed to set clang!?" |
| 9 | |
| 10 | # name: The name of this test suite. |
| 11 | config.name = 'Clang++' |
| 12 | |
| 13 | # suffixes: A list of file extensions to treat as test files, this is actually |
| 14 | # set by on_clone(). |
| 15 | config.suffixes = [] |
| 16 | |
| 17 | # Reset these from the Clang config. |
| 18 | config.test_source_root = config.test_exec_root = None |
Daniel Dunbar | 72a0b79 | 2009-11-15 07:23:09 +0000 | [diff] [blame] | 19 | |
Daniel Dunbar | 9bf8a17 | 2009-11-26 05:09:00 +0000 | [diff] [blame] | 20 | # Don't run Clang and LLVM code checks by default. |
Daniel Dunbar | c0513be7 | 2009-11-15 08:10:41 +0000 | [diff] [blame] | 21 | config.excludes = [] |
Daniel Dunbar | 9bf8a17 | 2009-11-26 05:09:00 +0000 | [diff] [blame] | 22 | if not lit.params.get('run_clang_all'): |
Daniel Dunbar | c0513be7 | 2009-11-15 08:10:41 +0000 | [diff] [blame] | 23 | config.excludes.append('Clang-Code-Syntax') |
Daniel Dunbar | c0513be7 | 2009-11-15 08:10:41 +0000 | [diff] [blame] | 24 | config.excludes.append('Clang-Code-Compile') |
Daniel Dunbar | 9bf8a17 | 2009-11-26 05:09:00 +0000 | [diff] [blame] | 25 | config.excludes.append('LLVM-Code-Syntax') |
| 26 | config.excludes.append('LLVM-Code-Compile') |
Daniel Dunbar | e868669 | 2009-12-24 21:27:38 +0000 | [diff] [blame] | 27 | config.excludes.append('LLVM-Code-Symbols') |