diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-07-18 10:33:26 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-07-18 10:34:41 +1000 |
| commit | 13bf958b7fceddbb0d4357fa106f58afd2625a85 (patch) | |
| tree | f213a15d9ef2632f0bd15b90a3ae5986d9a7762a | |
| parent | 1cd72b734318720adb99dc72147bb8169ef76ffe (diff) | |
| download | rust-13bf958b7fceddbb0d4357fa106f58afd2625a85.tar.gz rust-13bf958b7fceddbb0d4357fa106f58afd2625a85.zip | |
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.
| -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' |
