This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
src/tools/compiletest/src Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -852,6 +852,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
852852 "only-sparc64" ,
853853 "only-stable" ,
854854 "only-thumb" ,
855+ "only-unix" ,
855856 "only-wasm32" ,
856857 "only-wasm32-bare" ,
857858 "only-windows" ,
Original file line number Diff line number Diff line change @@ -285,6 +285,7 @@ fn ignore_target() {
285285 assert ! ( check_ignore( & config, "//@ ignore-x86_64-unknown-linux-gnu" ) ) ;
286286 assert ! ( check_ignore( & config, "//@ ignore-x86_64" ) ) ;
287287 assert ! ( check_ignore( & config, "//@ ignore-linux" ) ) ;
288+ assert ! ( check_ignore( & config, "//@ ignore-unix" ) ) ;
288289 assert ! ( check_ignore( & config, "//@ ignore-gnu" ) ) ;
289290 assert ! ( check_ignore( & config, "//@ ignore-64bit" ) ) ;
290291
@@ -300,6 +301,7 @@ fn only_target() {
300301
301302 assert ! ( check_ignore( & config, "//@ only-x86" ) ) ;
302303 assert ! ( check_ignore( & config, "//@ only-linux" ) ) ;
304+ assert ! ( check_ignore( & config, "//@ only-unix" ) ) ;
303305 assert ! ( check_ignore( & config, "//@ only-msvc" ) ) ;
304306 assert ! ( check_ignore( & config, "//@ only-32bit" ) ) ;
305307
You can’t perform that action at this time.
0 commit comments