Skip TestBitfileds on linux
authorPavel Labath <labath@google.com>
Mon, 25 Apr 2016 14:00:23 +0000 (14:00 +0000)
committerPavel Labath <labath@google.com>
Mon, 25 Apr 2016 14:00:23 +0000 (14:00 +0000)
Test added in r267248 exposed a bug in handling of dwarf produced by clang>=3.9, which causes a
crash during expression evaluation. Skip the test until this is sorted out.

llvm-svn: 267407

lldb/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py

index 0afec0a..ea534d1 100644 (file)
@@ -21,6 +21,7 @@ class BitfieldsTestCase(TestBase):
         self.line = line_number('main.c', '// Set break point at this line.')
 
     @skipIfWindows # BitFields exhibit crashes in record layout on Windows (http://llvm.org/pr21800)
+    @skipIf("llvm.org/pr27510", oslist=["linux"], compiler="clang", compiler_version=[">=", "3.9"]) # expectedFailure, skip to avoid crash
     def test_and_run_command(self):
         """Test 'frame variable ...' on a variable with bitfields."""
         self.build()