Skip to content

Commit b89d197

Browse files
committed
Require gdb version on some tests
1 parent a561484 commit b89d197

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

tests/debuginfo/by-value-non-immediate-argument.rs

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
// The gdb that we use in CI for aarch64-unknown-linux-gnu and x86_64-pc-windows-gnu seems unable
2-
// to handle by-value non-immediate arguments, which is the whole point of this test.
3-
// gdb on those platforms (or the version we test) just prints <optimized out> for structs/tuples
4-
// and attempts to read memory at 0x0 for enums.
5-
//@ ignore-aarch64: #128973
6-
//@ ignore-windows-gnu
7-
81
//@ min-lldb-version: 1800
2+
//@ min-gdb-version: 13.0
93
//@ compile-flags:-g
104

115
// === GDB TESTS ===================================================================================

tests/debuginfo/macro-stepping.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//@ ignore-android
33
//@ ignore-aarch64
44
//@ min-lldb-version: 310
5+
//@ min-gdb-version: 13.0
56

67
//@ aux-build:macro-stepping.rs
78

tests/debuginfo/method-on-enum.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//@ min-lldb-version: 1800
2-
//@ ignore-i686-pc-windows-gnu
2+
//@ min-gdb-version: 13.0
33

44
//@ compile-flags:-g
55

tests/debuginfo/option-like-enum.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//@ min-lldb-version: 1800
2-
//@ ignore-i686-pc-windows-gnu
2+
//@ min-gdb-version: 13.0
33

44
//@ compile-flags:-g
55

0 commit comments

Comments
 (0)