[Lldb-commits] [lldb] 71cfce8 - [lldb] Fix TestCompressedVectors after array type name change

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 22 01:16:12 PDT 2021


Author: Raphael Isemann
Date: 2021-10-22T10:15:53+02:00
New Revision: 71cfce832054dfea8e79769f15a3fdc05d23b733

URL: https://github.com/llvm/llvm-project/commit/71cfce832054dfea8e79769f15a3fdc05d23b733
DIFF: https://github.com/llvm/llvm-project/commit/71cfce832054dfea8e79769f15a3fdc05d23b733.diff

LOG: [lldb] Fix TestCompressedVectors after array type name change

aee49255074fd4ef38d97e6e70cbfbf2f9fd0fa7 turns array names such as `int [1]`
into `int[1]` (without the space). This probably breaks some user formatters,
but let's first get this test running while this is being discussed.

Added: 
    

Modified: 
    lldb/test/API/functionalities/data-formatter/compactvectors/TestCompactVectors.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/data-formatter/compactvectors/TestCompactVectors.py b/lldb/test/API/functionalities/data-formatter/compactvectors/TestCompactVectors.py
index 4b36d02da14df..d7d5579b5fdbc 100644
--- a/lldb/test/API/functionalities/data-formatter/compactvectors/TestCompactVectors.py
+++ b/lldb/test/API/functionalities/data-formatter/compactvectors/TestCompactVectors.py
@@ -49,8 +49,8 @@ def cleanup():
             substrs=[
                 '(vFloat) valueFL = (1.25, 0, 0.25, 0)',
                 '(vDouble) valueDL = (1.25, 2.25)',
-                '(int16_t [8]) valueI16 = (1, 0, 4, 0, 0, 1, 0, 4)',
-                '(int32_t [4]) valueI32 = (1, 0, 4, 0)',
+                '(int16_t[8]) valueI16 = (1, 0, 4, 0, 0, 1, 0, 4)',
+                '(int32_t[4]) valueI32 = (1, 0, 4, 0)',
                 '(vUInt8) valueU8 = (0x01, 0x00, 0x04, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00)',
                 '(vUInt16) valueU16 = (1, 0, 4, 0, 0, 1, 0, 4)',
                 '(vUInt32) valueU32 = (1, 2, 3, 4)',


        


More information about the lldb-commits mailing list