rename rust-lldb to needs-rust-lldb for consistency

This commit is contained in:
Pietro Albini 2023-04-14 11:40:07 +02:00
parent aea43673f2
commit ffe4ccd4ad
No known key found for this signature in database
GPG Key ID: CD76B35F7734769E
11 changed files with 15 additions and 18 deletions

View File

@ -943,14 +943,6 @@ pub fn make_test_description<R: Read>(
}
}
if config.debugger == Some(Debugger::Lldb) && !config.lldb_native_rust {
if config.parse_name_directive(ln, "rust-lldb") {
decision!(IgnoreDecision::Ignore {
reason: "ignored on targets wihtout Rust's LLDB".into()
});
}
}
should_fail |= config.parse_name_directive(ln, "should-fail");
});

View File

@ -1,4 +1,4 @@
use crate::common::Config;
use crate::common::{Config, Debugger};
use crate::header::IgnoreDecision;
use crate::util;
@ -100,6 +100,11 @@ pub(super) fn handle_needs(
condition: cache.rust_lld,
ignore_reason: "ignored on targets without Rust's LLD",
},
Need {
name: "needs-rust-lldb",
condition: config.debugger != Some(Debugger::Lldb) || config.lldb_native_rust,
ignore_reason: "ignored on targets without Rust's LLDB",
},
Need {
name: "needs-i686-dlltool",
condition: cache.i686_dlltool,

View File

@ -1,6 +1,6 @@
// Some versions of the non-rust-enabled LLDB print the wrong generic
// parameter type names in this test.
// rust-lldb
// needs-rust-lldb
// compile-flags:-g

View File

@ -1,6 +1,6 @@
// Require a gdb or lldb that can read DW_TAG_variant_part.
// min-gdb-version: 8.2
// rust-lldb
// needs-rust-lldb
// compile-flags:-g

View File

@ -2,7 +2,7 @@
// Some versions of the non-rust-enabled LLDB print the wrong generic
// parameter type names in this test.
// rust-lldb
// needs-rust-lldb
// === GDB TESTS ===================================================================================

View File

@ -1,6 +1,6 @@
// Some versions of the non-rust-enabled LLDB print the wrong generic
// parameter type names in this test.
// rust-lldb
// needs-rust-lldb
// compile-flags:-g

View File

@ -1,6 +1,6 @@
// Require a gdb or lldb that can read DW_TAG_variant_part.
// min-gdb-version: 8.2
// rust-lldb
// needs-rust-lldb
// compile-flags:-g

View File

@ -1,6 +1,6 @@
// Some versions of the non-rust-enabled LLDB print the wrong generic
// parameter type names in this test.
// rust-lldb
// needs-rust-lldb
// compile-flags:-g

View File

@ -1,6 +1,6 @@
// Require a gdb or lldb that can read DW_TAG_variant_part.
// min-gdb-version: 8.2
// rust-lldb
// needs-rust-lldb
// compile-flags:-g

View File

@ -1,6 +1,6 @@
// Require a gdb or lldb that can read DW_TAG_variant_part.
// min-gdb-version: 8.2
// rust-lldb
// needs-rust-lldb
// compile-flags:-g

View File

@ -1,6 +1,6 @@
// Require a gdb or lldb that can read DW_TAG_variant_part.
// min-gdb-version: 8.2
// rust-lldb
// needs-rust-lldb
// compile-flags:-g