[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git] / compiler-rt / test / builtins / lit.cfg.py
blobf9aae8fded6c389ca5073c65e2de11bfa5ef148b
1 # -*- Python -*-
3 import os
5 # Setup config name.
6 config.name = 'Builtins'
8 # Setup source root.
9 config.test_source_root = os.path.dirname(__file__)
11 # Test suffixes.
12 config.suffixes = ['.c', '.cpp', '.m', '.mm']
14 # Define %clang and %clangxx substitutions to use in test RUN lines.
15 config.substitutions.append( ("%clang ", " " + config.clang + " ") )
17 if 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])) )