diff options
author | Jim Ingham <jingham@apple.com> | 2018-07-13 22:31:59 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2018-07-13 22:31:59 +0000 |
commit | c685f6c17f430fb7814bba8fd2e89bbb2dc64ec5 (patch) | |
tree | 5e4b7bda195040c25290cda757cca4f7f8704f11 /lldb | |
parent | 2260e4149a164f5a9d97b6c27381cff3945dc0e3 (diff) | |
download | bcm5719-llvm-c685f6c17f430fb7814bba8fd2e89bbb2dc64ec5.tar.gz bcm5719-llvm-c685f6c17f430fb7814bba8fd2e89bbb2dc64ec5.zip |
Make these tests c++ tests so they can be skipped on systems that don't support those tests.
llvm-svn: 337058
Diffstat (limited to 'lldb')
2 files changed, 7 insertions, 4 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/bitset/TestDataFormatterLibcxxBitset.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/bitset/TestDataFormatterLibcxxBitset.py index 6e1a9d8710c..4fa115e5165 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/bitset/TestDataFormatterLibcxxBitset.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/bitset/TestDataFormatterLibcxxBitset.py @@ -45,6 +45,7 @@ class TestDataFormatterLibcxxBitset(TestBase): self.check("small", 13) self.check("large", 200) + @add_test_categories(["libc++"]) def test_ptr_and_ref(self): """Test that ref and ptr to std::bitset is displayed correctly""" self.build() diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py index 8c52d812d9e..aeb10984b3b 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py @@ -17,10 +17,6 @@ class LibcxxVectorDataFormatterTestCase(TestBase): 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): self.expect("frame variable " + var_name, substrs=[var_name + ' = size=7', @@ -54,6 +50,9 @@ class LibcxxVectorDataFormatterTestCase(TestBase): self.expect("frame variable " + var_name + "[3]", 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): """Test that that file and class static variables display correctly.""" self.build() @@ -180,6 +179,9 @@ class LibcxxVectorDataFormatterTestCase(TestBase): self.expect("frame variable strings", 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): """Test that that file and class static variables display correctly.""" self.build() |