forked from OSchip/llvm-project
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 llvm-svn: 356701
This commit is contained in:
parent
f960351ac4
commit
5988d72243
|
@ -18,7 +18,6 @@
|
|||
// RUN: %env_asan_opts=start_deactivated=1 \
|
||||
// RUN: ASAN_ACTIVATION_OPTIONS=help=1,handle_segv=0,verbosity=1 not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-UNSUPPORTED
|
||||
|
||||
// UNSUPPORTED: ios
|
||||
|
||||
// END.
|
||||
|
||||
|
|
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in New Issue