Skip to content

Commit

Permalink
Fix debuginfo tests.
Browse files Browse the repository at this point in the history
This is needed for my Ubuntu 22.04 box due to a slight change in gdb
output. The fix is similar to the fix in #95063.
  • Loading branch information
nnethercote committed Jul 18, 2022
1 parent 1cd72b7 commit 13bf958
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/debuginfo/basic-types-globals-lto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// gdbr-command:print I
// gdb-check:$2 = -1
// gdbg-command:print 'basic_types_globals::C'
// gdbr-command:print C
// gdbr-command:print/d C
// gdbg-check:$3 = 97
// gdbr-check:$3 = 97
// gdbg-command:print/d 'basic_types_globals::I8'
Expand Down
2 changes: 1 addition & 1 deletion src/test/debuginfo/basic-types-globals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// gdbr-command:print I
// gdb-check:$2 = -1
// gdbg-command:print 'basic_types_globals::C'
// gdbr-command:print C
// gdbr-command:print/d C
// gdbg-check:$3 = 97
// gdbr-check:$3 = 97
// gdbg-command:print/d 'basic_types_globals::I8'
Expand Down

0 comments on commit 13bf958

Please sign in to comment.