[Lldb-commits] [lldb] r267407 - Skip TestBitfileds on linux

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 25 07:00:27 PDT 2016


Author: labath
Date: Mon Apr 25 09:00:23 2016
New Revision: 267407

URL: http://llvm.org/viewvc/llvm-project?rev=267407&view=rev
Log:
Skip TestBitfileds on linux

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.

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

Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py?rev=267407&r1=267406&r2=267407&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py Mon Apr 25 09:00:23 2016
@@ -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()




More information about the lldb-commits mailing list