[Lldb-commits] [lldb] r202514 - Converted TestConstVariables expected failure to @expectedFailureClang.

Todd Fiala tfiala at google.com
Fri Feb 28 09:13:42 PST 2014


Author: tfiala
Date: Fri Feb 28 11:13:42 2014
New Revision: 202514

URL: http://llvm.org/viewvc/llvm-project?rev=202514&view=rev
Log:
Converted TestConstVariables expected failure to @expectedFailureClang.

TestConstVariables.py was disabled on Linux and marked as
unconditional expected failure. This change removes the Linux disable
and makes the expected failure conditional on using clang. The test
runs fine on gcc-built lldb.


Modified:
    lldb/trunk/test/lang/c/const_variables/TestConstVariables.py

Modified: lldb/trunk/test/lang/c/const_variables/TestConstVariables.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/const_variables/TestConstVariables.py?rev=202514&r1=202513&r2=202514&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/const_variables/TestConstVariables.py (original)
+++ lldb/trunk/test/lang/c/const_variables/TestConstVariables.py Fri Feb 28 11:13:42 2014
@@ -17,9 +17,8 @@ class ConstVariableTestCase(TestBase):
         self.buildDsym()
         self.const_variable()
 
-    @skipIfLinux # This test works with gcc, but fails with newer version of clang on Linux due to a clang issue. Fails for icc as well. Bug number TDB.
+    @expectedFailureClang('13314878') # This test works with gcc, but fails with newer version of clang on Linux due to a clang issue. Fails for icc as well. Bug number TDB.
     @dwarf_test
-    @unittest2.expectedFailure(13314878)
     def test_with_dwarf_and_run_command(self):
         """Test interpreted and JITted expressions on constant values."""
         self.buildDwarf()





More information about the lldb-commits mailing list