blob: eb04866e340b805299e674499f564d559f02990d [file] [log] [blame]
Daniel Dunbar33b7f452009-09-16 01:40:13 +00001# -*- 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