summaryrefslogtreecommitdiffstats
path: root/lldb/test/lang/c/bitfields/TestBitfields.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/lang/c/bitfields/TestBitfields.py')
-rw-r--r--lldb/test/lang/c/bitfields/TestBitfields.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/test/lang/c/bitfields/TestBitfields.py b/lldb/test/lang/c/bitfields/TestBitfields.py
index 573d161ff75..2597d6af7ac 100644
--- a/lldb/test/lang/c/bitfields/TestBitfields.py
+++ b/lldb/test/lang/c/bitfields/TestBitfields.py
@@ -10,14 +10,14 @@ class BitfieldsTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
- @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @skipUnlessDarwin
@dsym_test
def test_with_dsym_and_run_command(self):
"""Test 'frame variable ...' on a variable with bitfields."""
self.buildDsym()
self.bitfields_variable()
- @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @skipUnlessDarwin
@python_api_test
@dsym_test
def test_with_dsym_and_python_api(self):
@@ -26,7 +26,7 @@ class BitfieldsTestCase(TestBase):
self.bitfields_variable_python()
@dwarf_test
- @unittest2.skipIf(sys.platform.startswith("win32"), "BitFields exhibit crashes in record layout on Windows (http://llvm.org/pr21800)")
+ @skipIfWindows # BitFields exhibit crashes in record layout on Windows (http://llvm.org/pr21800)
def test_with_dwarf_and_run_command(self):
"""Test 'frame variable ...' on a variable with bitfields."""
self.buildDwarf()
@@ -34,7 +34,7 @@ class BitfieldsTestCase(TestBase):
@python_api_test
@dwarf_test
- @unittest2.skipIf(sys.platform.startswith("win32"), "BitFields exhibit crashes in record layout on Windows (http://llvm.org/pr21800)")
+ @skipIfWindows # BitFields exhibit crashes in record layout on Windows (http://llvm.org/pr21800)
@expectedFailureGcc # GCC (4.6/4.7) generates incorrect code with unnamed bitfields.
def test_with_dwarf_and_python_api(self):
"""Use Python APIs to inspect a bitfields variable."""
OpenPOWER on IntegriCloud