summaryrefslogtreecommitdiff
path: root/test/sanitizer_common
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/sanitizer_common
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/sanitizer_common')
-rwxr-xr-xtest/sanitizer_common/ios_commands/iossim_prepare.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/sanitizer_common/ios_commands/iossim_prepare.py b/test/sanitizer_common/ios_commands/iossim_prepare.py
new file mode 100755
index 000000000..4b618fe9d
--- /dev/null
+++ b/test/sanitizer_common/ios_commands/iossim_prepare.py
@@ -0,0 +1,5 @@
+#!/usr/bin/python
+
+import os, sys, subprocess, json
+
+print(json.dumps({"env": {}}))