1# -*- Python -*-
2
3import os
4
5# Setup config name.
6config.name = 'Builtins'
7
8# Setup source root.
9config.test_source_root = os.path.dirname(__file__)
10
11# Test suffixes.
12config.suffixes = ['.c', '.cpp', '.m', '.mm']
13
14# Define %clang and %clangxx substitutions to use in test RUN lines.
15config.substitutions.append( ("%clang ", " " + config.clang + " ") )
16
17if config.host_os == 'Darwin':
18  config.substitutions.append( ("%macos_version_major", str(config.darwin_osx_version[0])) )
19  config.substitutions.append( ("%macos_version_minor", str(config.darwin_osx_version[1])) )
20  config.substitutions.append( ("%macos_version_subminor", str(config.darwin_osx_version[2])) )
21