• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# -*- Python -*-
2
3# Configuration file for the 'lit' test runner.
4
5def getRoot(config):
6    if not config.parent:
7        return config
8    return getRoot(config.parent)
9
10root = getRoot(config)
11
12# testFormat: The test format to use to interpret tests.
13config.test_format = lit.formats.SyntaxCheckTest(compiler=root.clang,
14                                                 dir='/usr/include/c++/4.2.1',
15                                                 recursive=False,
16                                                 pattern='^(.*\\.h|[^.]*)$')
17
18