Skip to content

Commit

Permalink
Rollup merge of rust-lang#99392 - nnethercote:fix-debuginfo-tests, r=…
Browse files Browse the repository at this point in the history
…pnkfelix

Fix debuginfo tests.

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 rust-lang#95063.
  • Loading branch information
matthiaskrgr authored Jul 18, 2022
2 parents ab0b75d + 13bf958 commit 1b0dda4
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 1b0dda4

Please sign in to comment.