diff options
author | Dan Liew <dan@su-root.co.uk> | 2019-03-21 19:20:44 +0000 |
---|---|---|
committer | Dan Liew <dan@su-root.co.uk> | 2019-03-21 19:20:44 +0000 |
commit | e961c43d0a7fe555c5976a6319f95c9119bb3606 (patch) | |
tree | 18e65d923bea72493bce37437d7388a8607a692d /test/sanitizer_common | |
parent | 989c04edf69498e21866346d7dfa3b4c11e3c157 (diff) | |
download | compiler-rt-e961c43d0a7fe555c5976a6319f95c9119bb3606.tar.gz |
Enable `asan/TestCases/Posix/start-deactivated.cc` test for iOS.
Summary:
To make this test pass it was necesary to change `iossim_run.py` to
propagate the `ASAN_ACTIVATION_OPTIONS` environment variable into the
testing environment.
rdar://problem/49114807
Reviewers: kubamracek, yln, serge-sans-paille
Subscribers: #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D59660
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@356701 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/sanitizer_common')
-rwxr-xr-x | test/sanitizer_common/ios_commands/iossim_run.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sanitizer_common/ios_commands/iossim_run.py b/test/sanitizer_common/ios_commands/iossim_run.py index e1f633e87..7ce973956 100755 --- a/test/sanitizer_common/ios_commands/iossim_run.py +++ b/test/sanitizer_common/ios_commands/iossim_run.py @@ -8,7 +8,7 @@ if not "SANITIZER_IOSSIM_TEST_DEVICE_IDENTIFIER" in os.environ: device_id = os.environ["SANITIZER_IOSSIM_TEST_DEVICE_IDENTIFIER"] -for e in ["ASAN_OPTIONS", "TSAN_OPTIONS", "UBSAN_OPTIONS", "APPLE_ASAN_INIT_FOR_DLOPEN"]: +for e in ["ASAN_OPTIONS", "TSAN_OPTIONS", "UBSAN_OPTIONS", "APPLE_ASAN_INIT_FOR_DLOPEN", "ASAN_ACTIVATION_OPTIONS"]: if e in os.environ: os.environ["SIMCTL_CHILD_" + e] = os.environ[e] |