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.

llvm-svn: 202514
This commit is contained in:
Todd Fiala 2014-02-28 17:13:42 +00:00
parent c71f60f4a1
commit 319758af88
1 changed files with 1 additions and 2 deletions

View File

@ -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()