summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/asan
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2015-11-19 21:45:07 +0000
committerEnrico Granata <egranata@apple.com>2015-11-19 21:45:07 +0000
commit55d99f0e7c0cbf7aabafbf776e5361bf0b54054a (patch)
tree579d68df554f2fb675937ca0792e5712902e3b89 /lldb/packages/Python/lldbsuite/test/functionalities/asan
parent1cd3da15e8f5af0665839c523069c8c85282b293 (diff)
downloadbcm5719-llvm-55d99f0e7c0cbf7aabafbf776e5361bf0b54054a.tar.gz
bcm5719-llvm-55d99f0e7c0cbf7aabafbf776e5361bf0b54054a.zip
Cleanup work required to get the ASAN tests to run in the new test suite infrastructure; the tests are now xfailed on Darwin pending investigation
llvm-svn: 253604
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/asan')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/asan/Makefile2
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/asan/TestMemoryHistory.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/asan/TestReportData.py3
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()
OpenPOWER on IntegriCloud