summaryrefslogtreecommitdiff
path: root/clang/utils/C++Tests/stdc++-Syntax/lit.local.cfg
blob: eb04866e340b805299e674499f564d559f02990d (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# -*- Python -*-

# Configuration file for the 'lit' test runner.

def getRoot(config):
    if not config.parent:
        return config
    return getRoot(config.parent)

root = getRoot(config)

# testFormat: The test format to use to interpret tests.
config.test_format = lit.formats.SyntaxCheckTest(compiler=root.clang,
                                                 dir='/usr/include/c++/4.2.1',
                                                 recursive=False,
                                                 pattern='^(.*\\.h|[^.]*)$')