rename rust-lldb to needs-rust-lldb for consistency
This commit is contained in:
parent
aea43673f2
commit
ffe4ccd4ad
11 changed files with 15 additions and 18 deletions
|
@ -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");
|
should_fail |= config.parse_name_directive(ln, "should-fail");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use crate::common::Config;
|
use crate::common::{Config, Debugger};
|
||||||
use crate::header::IgnoreDecision;
|
use crate::header::IgnoreDecision;
|
||||||
use crate::util;
|
use crate::util;
|
||||||
|
|
||||||
|
@ -100,6 +100,11 @@ pub(super) fn handle_needs(
|
||||||
condition: cache.rust_lld,
|
condition: cache.rust_lld,
|
||||||
ignore_reason: "ignored on targets without Rust's 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 {
|
Need {
|
||||||
name: "needs-i686-dlltool",
|
name: "needs-i686-dlltool",
|
||||||
condition: cache.i686_dlltool,
|
condition: cache.i686_dlltool,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Some versions of the non-rust-enabled LLDB print the wrong generic
|
// Some versions of the non-rust-enabled LLDB print the wrong generic
|
||||||
// parameter type names in this test.
|
// parameter type names in this test.
|
||||||
// rust-lldb
|
// needs-rust-lldb
|
||||||
|
|
||||||
// compile-flags:-g
|
// compile-flags:-g
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Require a gdb or lldb that can read DW_TAG_variant_part.
|
// Require a gdb or lldb that can read DW_TAG_variant_part.
|
||||||
// min-gdb-version: 8.2
|
// min-gdb-version: 8.2
|
||||||
// rust-lldb
|
// needs-rust-lldb
|
||||||
|
|
||||||
// compile-flags:-g
|
// compile-flags:-g
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
// Some versions of the non-rust-enabled LLDB print the wrong generic
|
// Some versions of the non-rust-enabled LLDB print the wrong generic
|
||||||
// parameter type names in this test.
|
// parameter type names in this test.
|
||||||
// rust-lldb
|
// needs-rust-lldb
|
||||||
|
|
||||||
// === GDB TESTS ===================================================================================
|
// === GDB TESTS ===================================================================================
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Some versions of the non-rust-enabled LLDB print the wrong generic
|
// Some versions of the non-rust-enabled LLDB print the wrong generic
|
||||||
// parameter type names in this test.
|
// parameter type names in this test.
|
||||||
// rust-lldb
|
// needs-rust-lldb
|
||||||
|
|
||||||
// compile-flags:-g
|
// compile-flags:-g
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Require a gdb or lldb that can read DW_TAG_variant_part.
|
// Require a gdb or lldb that can read DW_TAG_variant_part.
|
||||||
// min-gdb-version: 8.2
|
// min-gdb-version: 8.2
|
||||||
// rust-lldb
|
// needs-rust-lldb
|
||||||
|
|
||||||
// compile-flags:-g
|
// compile-flags:-g
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Some versions of the non-rust-enabled LLDB print the wrong generic
|
// Some versions of the non-rust-enabled LLDB print the wrong generic
|
||||||
// parameter type names in this test.
|
// parameter type names in this test.
|
||||||
// rust-lldb
|
// needs-rust-lldb
|
||||||
|
|
||||||
// compile-flags:-g
|
// compile-flags:-g
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Require a gdb or lldb that can read DW_TAG_variant_part.
|
// Require a gdb or lldb that can read DW_TAG_variant_part.
|
||||||
// min-gdb-version: 8.2
|
// min-gdb-version: 8.2
|
||||||
// rust-lldb
|
// needs-rust-lldb
|
||||||
|
|
||||||
// compile-flags:-g
|
// compile-flags:-g
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Require a gdb or lldb that can read DW_TAG_variant_part.
|
// Require a gdb or lldb that can read DW_TAG_variant_part.
|
||||||
// min-gdb-version: 8.2
|
// min-gdb-version: 8.2
|
||||||
// rust-lldb
|
// needs-rust-lldb
|
||||||
|
|
||||||
// compile-flags:-g
|
// compile-flags:-g
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Require a gdb or lldb that can read DW_TAG_variant_part.
|
// Require a gdb or lldb that can read DW_TAG_variant_part.
|
||||||
// min-gdb-version: 8.2
|
// min-gdb-version: 8.2
|
||||||
// rust-lldb
|
// needs-rust-lldb
|
||||||
|
|
||||||
// compile-flags:-g
|
// compile-flags:-g
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue