• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.
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
19
20# Don't run Clang and LLVM code checks by default.
21config.excludes = []
22if not lit.params.get('run_clang_all'):
23    config.excludes.append('Clang-Code-Syntax')
24    config.excludes.append('Clang-Code-Compile')
25    config.excludes.append('LLVM-Code-Syntax')
26    config.excludes.append('LLVM-Code-Compile')
27    config.excludes.append('LLVM-Code-Symbols')
28