Skip to content

Commit 12d7205

Browse files
authored
[lldb][test] Correctly skip a test on a 32-bit target (llvm#168631)
The test was added in llvm#147252. On a 32-bit target, it fails with error: ``` File "...\TestDataFormatterLibcxxInvalidString.py", line 23, in test self.skip() ^^^^^^^^^ AttributeError: 'LibcxxInvalidStringDataFormatterTestCase' object has no attribute 'skip' ```
1 parent e0c265d commit 12d7205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/invalid-string/TestDataFormatterLibcxxInvalidString.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test(self):
2020
frame = thread.frames[0]
2121

2222
if not self.process().GetAddressByteSize() == 8:
23-
self.skip()
23+
self.skipTest("The test requires a 64-bit process")
2424

2525
# The test assumes that std::string is in its cap-size-data layout.
2626
self.expect(

0 commit comments

Comments
 (0)