summaryrefslogtreecommitdiffstats
path: root/lldb/test/api/multithreaded/TestMultithreaded.py
diff options
context:
space:
mode:
authorYing Chen <chying@google.com>2015-04-21 01:15:47 +0000
committerYing Chen <chying@google.com>2015-04-21 01:15:47 +0000
commit7091c2ca3ff63acd4671d92eedb075a100eea9b2 (patch)
tree644b5d6e1057ce2c4d271656469c99d70e64ef59 /lldb/test/api/multithreaded/TestMultithreaded.py
parentb6b5aaad9836302ed5ab7c936b527dcae667f1d0 (diff)
downloadbcm5719-llvm-7091c2ca3ff63acd4671d92eedb075a100eea9b2.tar.gz
bcm5719-llvm-7091c2ca3ff63acd4671d92eedb075a100eea9b2.zip
XFAIL tests that are failed on linux with gcc-4.9.2
Summary: - add decorator functions to xfail and skip test on specific os, architecture and version of comipler - xfail failing test with gcc-4.9.2 on linux - add one usage of skipIf function Test Plan: Run tests with different archs, and version of compilers to verify decorator function working as expected Run tests with gcc-4.9.2 and no failure reported Reviewers: sivachandra, ovyalov, vharron, chaoren Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D8851 llvm-svn: 235368
Diffstat (limited to 'lldb/test/api/multithreaded/TestMultithreaded.py')
-rw-r--r--lldb/test/api/multithreaded/TestMultithreaded.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/test/api/multithreaded/TestMultithreaded.py b/lldb/test/api/multithreaded/TestMultithreaded.py
index eb6e7a64c40..fcf5639817c 100644
--- a/lldb/test/api/multithreaded/TestMultithreaded.py
+++ b/lldb/test/api/multithreaded/TestMultithreaded.py
@@ -33,6 +33,7 @@ class SBBreakpointCallbackCase(TestBase):
@skipIfRemote
@skipIfLinuxClang # buildbot clang version unable to use libstdc++ with c++11
@skipIfNoSBHeaders
+ @expectedFailureAll("llvm.org/pr23139", oslist=["linux"], compiler="gcc", compiler_version=[">=","4.9"], archs=["x86_64"])
def test_sb_api_listener_event_description(self):
""" Test the description of an SBListener breakpoint event is valid."""
self.build_and_test('driver.cpp listener_test.cpp test_listener_event_description.cpp',
@@ -43,6 +44,7 @@ class SBBreakpointCallbackCase(TestBase):
@skipIfRemote
@skipIfLinuxClang # buildbot clang version unable to use libstdc++ with c++11
@skipIfNoSBHeaders
+ @expectedFailureAll("llvm.org/pr23139", oslist=["linux"], compiler="gcc", compiler_version=[">=","4.9"], archs=["x86_64"])
def test_sb_api_listener_event_process_state(self):
""" Test that a registered SBListener receives events when a process
changes state.
@@ -56,6 +58,7 @@ class SBBreakpointCallbackCase(TestBase):
@skipIfRemote
@skipIfLinuxClang # buildbot clang version unable to use libstdc++ with c++11
@skipIfNoSBHeaders
+ @expectedFailureAll("llvm.org/pr23139", oslist=["linux"], compiler="gcc", compiler_version=[">=","4.9"], archs=["x86_64"])
def test_sb_api_listener_resume(self):
""" Test that a process can be resumed from a non-main thread. """
self.build_and_test('driver.cpp listener_test.cpp test_listener_resume.cpp',
OpenPOWER on IntegriCloud