Make these tests c++ tests so they can be skipped on systems that don't support those tests.
llvm-svn: 337058
This commit is contained in:
parent
2260e4149a
commit
c685f6c17f
|
@ -45,6 +45,7 @@ class TestDataFormatterLibcxxBitset(TestBase):
|
||||||
self.check("small", 13)
|
self.check("small", 13)
|
||||||
self.check("large", 200)
|
self.check("large", 200)
|
||||||
|
|
||||||
|
@add_test_categories(["libc++"])
|
||||||
def test_ptr_and_ref(self):
|
def test_ptr_and_ref(self):
|
||||||
"""Test that ref and ptr to std::bitset is displayed correctly"""
|
"""Test that ref and ptr to std::bitset is displayed correctly"""
|
||||||
self.build()
|
self.build()
|
||||||
|
|
|
@ -17,10 +17,6 @@ class LibcxxVectorDataFormatterTestCase(TestBase):
|
||||||
|
|
||||||
mydir = TestBase.compute_mydir(__file__)
|
mydir = TestBase.compute_mydir(__file__)
|
||||||
|
|
||||||
@add_test_categories(["libc++"])
|
|
||||||
@skipIf(debug_info="gmodules",
|
|
||||||
bugnumber="https://bugs.llvm.org/show_bug.cgi?id=36048")
|
|
||||||
|
|
||||||
def check_numbers(self, var_name):
|
def check_numbers(self, var_name):
|
||||||
self.expect("frame variable " + var_name,
|
self.expect("frame variable " + var_name,
|
||||||
substrs=[var_name + ' = size=7',
|
substrs=[var_name + ' = size=7',
|
||||||
|
@ -54,6 +50,9 @@ class LibcxxVectorDataFormatterTestCase(TestBase):
|
||||||
self.expect("frame variable " + var_name + "[3]",
|
self.expect("frame variable " + var_name + "[3]",
|
||||||
substrs=['1234'])
|
substrs=['1234'])
|
||||||
|
|
||||||
|
@add_test_categories(["libc++"])
|
||||||
|
@skipIf(debug_info="gmodules",
|
||||||
|
bugnumber="https://bugs.llvm.org/show_bug.cgi?id=36048")
|
||||||
def test_with_run_command(self):
|
def test_with_run_command(self):
|
||||||
"""Test that that file and class static variables display correctly."""
|
"""Test that that file and class static variables display correctly."""
|
||||||
self.build()
|
self.build()
|
||||||
|
@ -180,6 +179,9 @@ class LibcxxVectorDataFormatterTestCase(TestBase):
|
||||||
self.expect("frame variable strings",
|
self.expect("frame variable strings",
|
||||||
substrs=['vector has 0 items'])
|
substrs=['vector has 0 items'])
|
||||||
|
|
||||||
|
@add_test_categories(["libc++"])
|
||||||
|
@skipIf(debug_info="gmodules",
|
||||||
|
bugnumber="https://bugs.llvm.org/show_bug.cgi?id=36048")
|
||||||
def test_ref_and_ptr(self):
|
def test_ref_and_ptr(self):
|
||||||
"""Test that that file and class static variables display correctly."""
|
"""Test that that file and class static variables display correctly."""
|
||||||
self.build()
|
self.build()
|
||||||
|
|
Loading…
Reference in New Issue