summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiva Chandra <sivachandra@google.com>2014-12-19 22:41:43 +0000
committerSiva Chandra <sivachandra@google.com>2014-12-19 22:41:43 +0000
commitaaa3d478637209dd59fdba21f0ff1a7da669a532 (patch)
treefcfcad9f983eebc90a20101eded36448f584b0b8
parent5ab2e07231c0bb6325435e3f4ed10fa720ad5841 (diff)
downloadbcm5719-llvm-aaa3d478637209dd59fdba21f0ff1a7da669a532.tar.gz
bcm5719-llvm-aaa3d478637209dd59fdba21f0ff1a7da669a532.zip
[TestEvents] Replace expectedFailureLinux with skipIfLinux
Summary: If we do not mark them as skip, they are still executed, which in turn is leading to an assertion failure. The change also adds skipIfLinux to a testlet which was not previously marked with skipIfLinux. This is because running even that test let leads to an assertion failure. Test Plan: dotest.py -C clang -p TestEvents.py Reviewers: vharron Reviewed By: vharron Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D6715 llvm-svn: 224644
-rw-r--r--lldb/test/python_api/event/TestEvents.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/lldb/test/python_api/event/TestEvents.py b/lldb/test/python_api/event/TestEvents.py
index f799ac982da..62c1f503dfc 100644
--- a/lldb/test/python_api/event/TestEvents.py
+++ b/lldb/test/python_api/event/TestEvents.py
@@ -20,6 +20,9 @@ class EventAPITestCase(TestBase):
self.buildDsym()
self.do_listen_for_and_print_event()
+ @unittest2.skipUnless((sys.platform.startswith("darwin") or
+ sys.platform.startswith("freebsd")),
+ "requires Darwin or FreeBSD")
@python_api_test
@dwarf_test
def test_listen_for_and_print_event_with_dwarf(self):
@@ -35,7 +38,7 @@ class EventAPITestCase(TestBase):
self.buildDsym()
self.do_wait_for_event()
- @expectedFailureLinux # non-core functionality, need to reenable and fix later (DES 2014.11.07)
+ @skipIfLinux # non-core functionality, need to reenable and fix later (DES 2014.11.07)
@python_api_test
@dwarf_test
def test_wait_for_event_with_dwarf(self):
@@ -52,7 +55,7 @@ class EventAPITestCase(TestBase):
self.do_add_listener_to_broadcaster()
@skipIfFreeBSD # llvm.org/pr21325
- @expectedFailureLinux # non-core functionality, need to reenable and fix later (DES 2014.11.07)
+ @skipIfLinux # non-core functionality, need to reenable and fix later (DES 2014.11.07)
@python_api_test
@dwarf_test
def test_add_listener_to_broadcaster_with_dwarf(self):
OpenPOWER on IntegriCloud