diff options
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/asan')
3 files changed, 5 insertions, 3 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/asan/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/asan/Makefile index 0412ba1a30d..26654a023ed 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/asan/Makefile +++ b/lldb/packages/Python/lldbsuite/test/functionalities/asan/Makefile @@ -1,6 +1,6 @@ LEVEL = ../../make C_SOURCES := main.c -CFLAGS := $(CFLAGS) -fsanitize=address -g +CFLAGS_EXTRAS := -fsanitize=address -g include $(LEVEL)/Makefile.rules diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/asan/TestMemoryHistory.py b/lldb/packages/Python/lldbsuite/test/functionalities/asan/TestMemoryHistory.py index a96386b312a..7dbcbfaaa4a 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/asan/TestMemoryHistory.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/asan/TestMemoryHistory.py @@ -23,6 +23,7 @@ class AsanTestCase(TestBase): @skipIfFreeBSD # llvm.org/pr21136 runtimes not yet available by default @skipIfRemote @skipUnlessCompilerRt + @expectedFailureDarwin def test (self): compiler = self.findBuiltClang () self.build (None, compiler) @@ -51,7 +52,7 @@ class AsanTestCase(TestBase): # ASan will relaunch the process to insert its library. self.expect("thread list", "Process should be stopped due to exec.", - substrs = ['stopped', 'stop reason = exec']) + substrs = ['stopped', 'stop reason = ']) self.runCmd("continue") diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/asan/TestReportData.py b/lldb/packages/Python/lldbsuite/test/functionalities/asan/TestReportData.py index 60e2ed14342..c1fa22710d0 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/asan/TestReportData.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/asan/TestReportData.py @@ -24,6 +24,7 @@ class AsanTestReportDataCase(TestBase): @skipIfFreeBSD # llvm.org/pr21136 runtimes not yet available by default @skipIfRemote @skipUnlessCompilerRt + @expectedFailureDarwin def test(self): compiler = self.findBuiltClang () self.build (None, compiler) @@ -45,7 +46,7 @@ class AsanTestReportDataCase(TestBase): # ASan will relaunch the process to insert its library. self.expect("thread list", "Process should be stopped due to exec.", - substrs = ['stopped', 'stop reason = exec']) + substrs = ['stopped', 'stop reason = ']) # no extended info when we have no ASan report thread = self.dbg.GetSelectedTarget().process.GetSelectedThread() |