Skip to content

Commit

Permalink
Rollup merge of #99392 - nnethercote:fix-debuginfo-tests, r=pnkfelix
Browse files Browse the repository at this point in the history
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 #95063.
  • Loading branch information
Dylan-DPC committed Jul 19, 2022
2 parents d00646b + 13bf958 commit bf1366b
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 bf1366b

Please sign in to comment.