blob: 274ca103f4ae45d3e2c2b0c3cd4195d495348e52 [file] [log] [blame]
Daniel Dunbar33b7f452009-09-16 01:40:13 +00001# -*- 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.
6lit.load_config(config, os.path.join(os.path.dirname(__file__),
7 '..', '..', 'test', 'lit.cfg'))
8assert config.clang, "Failed to set clang!?"
9
10# name: The name of this test suite.
11config.name = 'Clang++'
12
13# suffixes: A list of file extensions to treat as test files, this is actually
14# set by on_clone().
15config.suffixes = []
16
17# Reset these from the Clang config.
18config.test_source_root = config.test_exec_root = None
Daniel Dunbar72a0b792009-11-15 07:23:09 +000019
Daniel Dunbar9bf8a172009-11-26 05:09:00 +000020# Don't run Clang and LLVM code checks by default.
Daniel Dunbarc0513be72009-11-15 08:10:41 +000021config.excludes = []
Daniel Dunbar9bf8a172009-11-26 05:09:00 +000022if not lit.params.get('run_clang_all'):
Daniel Dunbarc0513be72009-11-15 08:10:41 +000023 config.excludes.append('Clang-Code-Syntax')
Daniel Dunbarc0513be72009-11-15 08:10:41 +000024 config.excludes.append('Clang-Code-Compile')
Daniel Dunbar9bf8a172009-11-26 05:09:00 +000025 config.excludes.append('LLVM-Code-Syntax')
26 config.excludes.append('LLVM-Code-Compile')
Daniel Dunbare8686692009-12-24 21:27:38 +000027 config.excludes.append('LLVM-Code-Symbols')