Remove redundant information and simplify only
condition
This commit is contained in:
parent
e8ce9fac85
commit
732037c75b
@ -168,6 +168,7 @@
|
|||||||
"only-32bit",
|
"only-32bit",
|
||||||
"only-64bit",
|
"only-64bit",
|
||||||
"only-aarch64",
|
"only-aarch64",
|
||||||
|
"only-aarch64-unknown-linux-gnu",
|
||||||
"only-apple",
|
"only-apple",
|
||||||
"only-arm",
|
"only-arm",
|
||||||
"only-avr",
|
"only-avr",
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
// This test does not require MTE: whilst the test will use MTE if available, if it is not,
|
// This test does not require MTE: whilst the test will use MTE if available, if it is not,
|
||||||
// arbitrary tag bits are set using TBI.
|
// arbitrary tag bits are set using TBI.
|
||||||
|
|
||||||
//@ only-aarch64
|
// This test is only valid for AArch64.
|
||||||
//@ only-linux
|
// The linker must be explicitly specified when cross-compiling, so it is limited to
|
||||||
//@ only-gnu
|
// `aarch64-unknown-linux-gnu`.
|
||||||
//@ run-pass
|
//@ only-aarch64-unknown-linux-gnu
|
||||||
|
|
||||||
use run_make_support::{cc, dynamic_lib_name, extra_c_flags, run, rustc, target};
|
use run_make_support::{cc, dynamic_lib_name, extra_c_flags, run, rustc, target};
|
||||||
|
|
||||||
@ -23,7 +23,7 @@ fn run_test(variant: &str) {
|
|||||||
flags.push("-march=armv8.5-a+memtag");
|
flags.push("-march=armv8.5-a+memtag");
|
||||||
flags
|
flags
|
||||||
};
|
};
|
||||||
print!("{variant} test...");
|
println!("{variant} test...");
|
||||||
rustc()
|
rustc()
|
||||||
.input(format!("foo_{variant}.rs"))
|
.input(format!("foo_{variant}.rs"))
|
||||||
.target(target())
|
.target(target())
|
||||||
@ -35,5 +35,4 @@ fn run_test(variant: &str) {
|
|||||||
.args(&flags)
|
.args(&flags)
|
||||||
.run();
|
.run();
|
||||||
run("test");
|
run("test");
|
||||||
println!("\tpassed");
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user