⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 278674 in webkit


Ignore:
Timestamp:
Jun 9, 2021, 2:28:59 PM (5 years ago)
Author:
Ryan Haddad
Message:

[test-webkit-lldb] 3 dump_class_layout_unittest.TestDumpClassLayout tests failing with Xcode 12.5
https://bugs.webkit.org/show_bug.cgi?id=226540

Unreviewed test gardening.

  • lldb/dump_class_layout_unittest.py: Rebaseline tests.
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r278670 r278674  
    9494        * TestWebKitAPI/Tests/WebCore/MarkedText.cpp:
    9595        (TestWebKitAPI::TEST):
     96
     972021-06-09  Ryan Haddad  <ryanhaddad@apple.com>
     98
     99        [test-webkit-lldb] 3 dump_class_layout_unittest.TestDumpClassLayout tests failing with Xcode 12.5
     100        https://bugs.webkit.org/show_bug.cgi?id=226540
     101
     102        Unreviewed test gardening.
     103
     104        * lldb/dump_class_layout_unittest.py: Rebaseline tests.
    96105
    971062021-06-08  Sam Weinig  <weinig@apple.com>
  • trunk/Tools/lldb/dump_class_layout_unittest.py

    r253219 r278674  
    319319  +1 < :2>   unsigned long bitfield5 : 2
    320320  +1 < :1>   <UNUSED BITS: 1 bit>
    321   +2 <  2>   <PADDING: 2 bytes>
     321  +2 <  1>   <PADDING: 1 bytes>
    322322  +4 <  4>   int intMember
    323323  +8 < :1>   unsigned int bitfield7 : 1
     
    327327 +10 <  6>   <PADDING: 6 bytes>
    328328Total byte size: 16
    329 Total pad bytes: 8
    330 Padding percentage: 50.00 %"""
     329Total pad bytes: 7
     330Padding percentage: 49.22 %"""
    331331        actual_layout = debugger_instance.layout_for_classname('ClassWithPaddedBitfields')
    332332        self.assertEqual(EXPECTED_RESULT, actual_layout.as_string())
     
    342342  +1 < :2>       unsigned long bitfield5 : 2
    343343  +1 < :1>       <UNUSED BITS: 1 bit>
    344   +2 <  2>       <PADDING: 2 bytes>
     344  +2 <  1>       <PADDING: 1 bytes>
    345345  +4 <  4>       int intMember
    346346  +8 < :1>       unsigned int bitfield7 : 1
     
    353353 +17 <  7>   <PADDING: 7 bytes>
    354354Total byte size: 24
    355 Total pad bytes: 15
    356 Padding percentage: 62.50 %"""
     355Total pad bytes: 14
     356Padding percentage: 61.98 %"""
    357357        actual_layout = debugger_instance.layout_for_classname('MemberHasBitfieldPadding')
    358358        self.assertEqual(EXPECTED_RESULT, actual_layout.as_string())
     
    368368  +1 < :2>       unsigned long bitfield5 : 2
    369369  +1 < :1>       <UNUSED BITS: 1 bit>
    370   +2 <  2>       <PADDING: 2 bytes>
     370  +2 <  1>       <PADDING: 1 bytes>
    371371  +4 <  4>       int intMember
    372372  +8 < :1>       unsigned int bitfield7 : 1
     
    378378 +11 <  5>   <PADDING: 5 bytes>
    379379Total byte size: 16
    380 Total pad bytes: 7
    381 Padding percentage: 43.75 %"""
     380Total pad bytes: 6
     381Padding percentage: 42.97 %"""
    382382        actual_layout = debugger_instance.layout_for_classname('InheritsFromClassWithPaddedBitfields')
    383383        self.assertEqual(EXPECTED_RESULT, actual_layout.as_string())
Note: See TracChangeset for help on using the changeset viewer.