summaryrefslogtreecommitdiff
path: root/test/lit.common.configured.in
diff options
context:
space:
mode:
authorKuba Mracek <mracek@apple.com>2018-06-20 13:33:42 +0000
committerKuba Mracek <mracek@apple.com>2018-06-20 13:33:42 +0000
commitec24a604d8796844dac8a3817e604a7b1b039504 (patch)
tree1f9983200ffa38b78416ecc2d54e2dbc9e88c5f2 /test/lit.common.configured.in
parenta0ddec879cc5bf65904736b3fb88c1f2699080e4 (diff)
[sanitizer] Unify and generalize Apple platforms in CMake and lit test configs
There's more platforms than just "ios" and "iossim" that we should support, and adding more lit config variables for each platform isn't great. Let's generalize and have a single value that determines what the platform under test is. Differential Revision: https://reviews.llvm.org/D48309 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@335123 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.common.configured.in')
-rw-r--r--test/lit.common.configured.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/lit.common.configured.in b/test/lit.common.configured.in
index 32a88200b..ebe66a9a2 100644
--- a/test/lit.common.configured.in
+++ b/test/lit.common.configured.in
@@ -26,8 +26,7 @@ set_default("compiler_rt_debug", @COMPILER_RT_DEBUG_PYBOOL@)
set_default("compiler_rt_libdir", "@COMPILER_RT_RESOLVED_LIBRARY_OUTPUT_DIR@")
set_default("emulator", "@COMPILER_RT_EMULATOR@")
set_default("asan_shadow_scale", "@COMPILER_RT_ASAN_SHADOW_SCALE@")
-set_default("ios", False)
-set_default("iossim", False)
+set_default("apple_platform", None)
set_default("sanitizer_can_use_cxxabi", @SANITIZER_CAN_USE_CXXABI_PYBOOL@)
set_default("has_lld", @COMPILER_RT_HAS_LLD_PYBOOL@)
set_default("can_symbolize", @CAN_SYMBOLIZE@)