summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-08-01 18:35:40 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-08-01 18:35:40 +0000
commit52f12f63f4ecaab157c9a056f6185746d87cd6e3 (patch)
tree87b217fbfa4a27372c511ea4eb8bd3151f41946a /lldb/packages/Python/lldbsuite/test/python_api
parent172838df6bc9c7754b030776428f875b57d70ed2 (diff)
downloadbcm5719-llvm-52f12f63f4ecaab157c9a056f6185746d87cd6e3.tar.gz
bcm5719-llvm-52f12f63f4ecaab157c9a056f6185746d87cd6e3.zip
Fix `skipIfSanitized` decorator on macOS
For security reasons, DYLD_INSERT_LIBRARIES is not propagated to a child process. This breaks the skipIfSanitized decorator, which checks for the environment variable being set. Instead, always set the ASAN_OPTIONS and make the decorator check for that. Differential revision: https://reviews.llvm.org/D65594 llvm-svn: 367595
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/hello_world/TestHelloWorld.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/hello_world/TestHelloWorld.py b/lldb/packages/Python/lldbsuite/test/python_api/hello_world/TestHelloWorld.py
index c9fa4870c0e..e0f4dd6f054 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/hello_world/TestHelloWorld.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/hello_world/TestHelloWorld.py
@@ -108,7 +108,7 @@ class HelloWorldTestCase(TestBase):
@add_test_categories(['pyapi'])
@skipIfiOSSimulator
- @skipIfSanitized # FIXME: Hangs indefinitely.
+ @skipIfAsan # FIXME: Hangs indefinitely.
@expectedFailureNetBSD
def test_with_attach_to_process_with_name_api(self):
"""Create target, spawn a process, and attach to it with process name."""
OpenPOWER on IntegriCloud