Skip to content

Commit

Permalink
Require gdb version on some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
saethlin committed Aug 13, 2024
1 parent a561484 commit b89d197
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
8 changes: 1 addition & 7 deletions tests/debuginfo/by-value-non-immediate-argument.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
// The gdb that we use in CI for aarch64-unknown-linux-gnu and x86_64-pc-windows-gnu seems unable
// to handle by-value non-immediate arguments, which is the whole point of this test.
// gdb on those platforms (or the version we test) just prints <optimized out> for structs/tuples
// and attempts to read memory at 0x0 for enums.
//@ ignore-aarch64: #128973
//@ ignore-windows-gnu

//@ min-lldb-version: 1800
//@ min-gdb-version: 13.0
//@ compile-flags:-g

// === GDB TESTS ===================================================================================
Expand Down
1 change: 1 addition & 0 deletions tests/debuginfo/macro-stepping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//@ ignore-android
//@ ignore-aarch64
//@ min-lldb-version: 310
//@ min-gdb-version: 13.0

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

Expand Down
2 changes: 1 addition & 1 deletion tests/debuginfo/method-on-enum.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//@ min-lldb-version: 1800
//@ ignore-i686-pc-windows-gnu
//@ min-gdb-version: 13.0

//@ compile-flags:-g

Expand Down
2 changes: 1 addition & 1 deletion tests/debuginfo/option-like-enum.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//@ min-lldb-version: 1800
//@ ignore-i686-pc-windows-gnu
//@ min-gdb-version: 13.0

//@ compile-flags:-g

Expand Down

0 comments on commit b89d197

Please sign in to comment.