Repository navigation
Commit 66e39ab
authored
Rollup merge of #164201 - Walnut356:unsigned_unpack, r=Kobzol
Improve `--bless` output for `tests/debuginfo`
Fixes a few small things that came up while writing a new test.
The first commit fixes a small bug that caused unsigned integer values to be unpacked as signed values.
The second forces `\n` line endings, which makes running `--bless` less annoying on windows. Python defaults to platform specific line-endings by default. I think git normalizes away the differences anyway? But when working, they'd show up as changed files, so this just prevents those phantom diffs.
The bigger change in the second commit is sorting the types dictionary, which should help prevent diffs that are just shuffling types around. For reference, python (3.7+) dictionaries are in insertion order by default, so adding a new variable could sometimes cause a type to be processed sooner or later than it had been before.
All other list/dict instances *are* order-sensitive and/or changing their position has significance in the test, so those have remained the same.
r? @jieyouxu, @Kobzol5 files changed
Lines changed: 472 additions & 465 deletions
File tree
- src/etc/debugger_tester
- lldb
- tests/debuginfo/pretty-std/lldb_input
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
551 | 551 | | |
552 | 552 | | |
553 | 553 | | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
554 | 561 | | |
555 | 562 | | |
556 | 563 | | |
| |||
567 | 574 | | |
568 | 575 | | |
569 | 576 | | |
570 | | - | |
| 577 | + | |
571 | 578 | | |
572 | 579 | | |
573 | 580 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
0 commit comments