about summary refs log tree commit diff
path: root/tests/ui/shell-argfiles
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com>2024-02-16 20:02:50 +0000
committer许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com>2024-02-16 20:02:50 +0000
commitec2cc761bc7067712ecc7734502f703fe3b024c8 (patch)
tree7ab55cd9562da45b86c959f1b98c199b2b03ca92 /tests/ui/shell-argfiles
parente53d6dd35bb38b81dff4b00497f4c152e9009499 (diff)
downloadrust-ec2cc761bc7067712ecc7734502f703fe3b024c8.tar.gz
rust-ec2cc761bc7067712ecc7734502f703fe3b024c8.zip
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
Diffstat (limited to 'tests/ui/shell-argfiles')
-rw-r--r--tests/ui/shell-argfiles/shell-argfiles-badquotes-windows.rs4
-rw-r--r--tests/ui/shell-argfiles/shell-argfiles-badquotes.rs4
-rw-r--r--tests/ui/shell-argfiles/shell-argfiles-via-argfile.rs4
-rw-r--r--tests/ui/shell-argfiles/shell-argfiles.rs4
4 files changed, 8 insertions, 8 deletions
diff --git a/tests/ui/shell-argfiles/shell-argfiles-badquotes-windows.rs b/tests/ui/shell-argfiles/shell-argfiles-badquotes-windows.rs
index 800735cf3a7..ef90937b221 100644
--- a/tests/ui/shell-argfiles/shell-argfiles-badquotes-windows.rs
+++ b/tests/ui/shell-argfiles/shell-argfiles-badquotes-windows.rs
@@ -4,8 +4,8 @@
 // separators. This test uses backslash as the path separator for the command
 // line arguments and is only run on windows.
 //
-// only-windows
-// compile-flags: --cfg cmdline_set -Z shell-argfiles @shell:{{src-base}}\shell-argfiles\shell-argfiles-badquotes.args
+//@ only-windows
+//@ compile-flags: --cfg cmdline_set -Z shell-argfiles @shell:{{src-base}}\shell-argfiles\shell-argfiles-badquotes.args
 
 fn main() {
 }
diff --git a/tests/ui/shell-argfiles/shell-argfiles-badquotes.rs b/tests/ui/shell-argfiles/shell-argfiles-badquotes.rs
index f9160143a04..1edb69c3f2b 100644
--- a/tests/ui/shell-argfiles/shell-argfiles-badquotes.rs
+++ b/tests/ui/shell-argfiles/shell-argfiles-badquotes.rs
@@ -5,8 +5,8 @@
 // the path separator for the command line arguments that is only run on
 // windows.
 //
-// ignore-windows
-// compile-flags: --cfg cmdline_set -Z shell-argfiles @shell:{{src-base}}/shell-argfiles/shell-argfiles-badquotes.args
+//@ ignore-windows
+//@ compile-flags: --cfg cmdline_set -Z shell-argfiles @shell:{{src-base}}/shell-argfiles/shell-argfiles-badquotes.args
 
 fn main() {
 }
diff --git a/tests/ui/shell-argfiles/shell-argfiles-via-argfile.rs b/tests/ui/shell-argfiles/shell-argfiles-via-argfile.rs
index d71e3218f53..b907fd3bbc7 100644
--- a/tests/ui/shell-argfiles/shell-argfiles-via-argfile.rs
+++ b/tests/ui/shell-argfiles/shell-argfiles-via-argfile.rs
@@ -1,7 +1,7 @@
 // Check to see if we can get parameters from an @argsfile file
 //
-// build-pass
-// compile-flags: @{{src-base}}/shell-argfiles/shell-argfiles-via-argfile.args @shell:{{src-base}}/shell-argfiles/shell-argfiles-via-argfile-shell.args
+//@ build-pass
+//@ compile-flags: @{{src-base}}/shell-argfiles/shell-argfiles-via-argfile.args @shell:{{src-base}}/shell-argfiles/shell-argfiles-via-argfile-shell.args
 
 #[cfg(not(shell_args_set))]
 compile_error!("shell_args_set not set");
diff --git a/tests/ui/shell-argfiles/shell-argfiles.rs b/tests/ui/shell-argfiles/shell-argfiles.rs
index 9bc252ea628..f9ebef68f5a 100644
--- a/tests/ui/shell-argfiles/shell-argfiles.rs
+++ b/tests/ui/shell-argfiles/shell-argfiles.rs
@@ -1,7 +1,7 @@
 // Check to see if we can get parameters from an @argsfile file
 //
-// build-pass
-// compile-flags: --cfg cmdline_set -Z shell-argfiles @shell:{{src-base}}/shell-argfiles/shell-argfiles.args
+//@ build-pass
+//@ compile-flags: --cfg cmdline_set -Z shell-argfiles @shell:{{src-base}}/shell-argfiles/shell-argfiles.args
 
 #[cfg(not(cmdline_set))]
 compile_error!("cmdline_set not set");