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