mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Any substring of `target_triple` is allowed as a feature (when used in REQUIRES/UNSUPPORTED/XFAIL) in `lit.py`. This is what allows eg. `XFAIL: linux` even though `linux` isn't listed as an available feature. `TARGET_TRIPLE` was renamed to `LLVM_TARGET_TRIPLE` upstream, so rename it here as well. Going forward we should remove `target_triple` entirely and use our `OS=...` features instead.
19 lines
803 B
INI
19 lines
803 B
INI
## Autogenerated by LLVM/Swift configuration.
|
|
# Do not edit!
|
|
config.llvm_src_root = "@LLVM_MAIN_SRC_DIR@"
|
|
config.llvm_obj_root = "@LLVM_BINARY_DIR@"
|
|
config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
|
|
config.llvm_libs_dir = "@LLVM_LIBS_DIR@"
|
|
config.build_mode = lit_config.params.get('build_mode', "@SWIFT_BUILD_MODE@")
|
|
config.swift_obj_root = "@SWIFT_BINARY_DIR@"
|
|
config.target_triple = "@LLVM_TARGET_TRIPLE@"
|
|
config.swiftlib_dir = "@LIT_SWIFTLIB_DIR@"
|
|
config.swift_test_results_dir = \
|
|
lit_config.params.get("swift_test_results_dir", "@SWIFT_TEST_RESULTS_DIR@")
|
|
config.lit_site_config_folder = os.path.dirname(os.path.realpath(__file__))
|
|
|
|
config.coverage_mode = "@SWIFT_ANALYZE_CODE_COVERAGE@"
|
|
|
|
# Let the main config do the real work.
|
|
lit_config.load_config(config, "@SWIFT_SOURCE_DIR@/test/Unit/lit.cfg")
|