Skip to content

Commit

Permalink
Remove redundant information and simplify only condition
Browse files Browse the repository at this point in the history
  • Loading branch information
dheaton-arm committed Jul 31, 2024
1 parent e8ce9fa commit 732037c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/tools/compiletest/src/command-list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
"only-32bit",
"only-64bit",
"only-aarch64",
"only-aarch64-unknown-linux-gnu",
"only-apple",
"only-arm",
"only-avr",
Expand Down
11 changes: 5 additions & 6 deletions tests/run-make/mte-ffi/rmake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
// 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.

//@ only-aarch64
//@ only-linux
//@ only-gnu
//@ run-pass
// This test is only valid for AArch64.
// The linker must be explicitly specified when cross-compiling, so it is limited to
// `aarch64-unknown-linux-gnu`.
//@ only-aarch64-unknown-linux-gnu

use run_make_support::{cc, dynamic_lib_name, extra_c_flags, run, rustc, target};

Expand All @@ -23,7 +23,7 @@ fn run_test(variant: &str) {
flags.push("-march=armv8.5-a+memtag");
flags
};
print!("{variant} test...");
println!("{variant} test...");
rustc()
.input(format!("foo_{variant}.rs"))
.target(target())
Expand All @@ -35,5 +35,4 @@ fn run_test(variant: &str) {
.args(&flags)
.run();
run("test");
println!("\tpassed");
}

0 comments on commit 732037c

Please sign in to comment.