diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-07-19 11:38:55 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-19 11:38:55 +0530 |
| commit | bf1366b4d3934c6174e56f4a5226ccbecedf66ce (patch) | |
| tree | 4f7f9151059d34b98371533b5922a767e2d2ef68 /src | |
| parent | d00646b8219e9c5894cccfcd15efb51ea1e710bb (diff) | |
| parent | 13bf958b7fceddbb0d4357fa106f58afd2625a85 (diff) | |
| download | rust-bf1366b4d3934c6174e56f4a5226ccbecedf66ce.tar.gz rust-bf1366b4d3934c6174e56f4a5226ccbecedf66ce.zip | |
Rollup merge of #99392 - nnethercote:fix-debuginfo-tests, r=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 #95063.
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/debuginfo/basic-types-globals-lto.rs | 2 | ||||
| -rw-r--r-- | src/test/debuginfo/basic-types-globals.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/debuginfo/basic-types-globals-lto.rs b/src/test/debuginfo/basic-types-globals-lto.rs index 555d51ced71..1adf278ad32 100644 --- a/src/test/debuginfo/basic-types-globals-lto.rs +++ b/src/test/debuginfo/basic-types-globals-lto.rs @@ -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' diff --git a/src/test/debuginfo/basic-types-globals.rs b/src/test/debuginfo/basic-types-globals.rs index a6d8c15bcdc..3602db39a4e 100644 --- a/src/test/debuginfo/basic-types-globals.rs +++ b/src/test/debuginfo/basic-types-globals.rs @@ -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' |
