about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChris Simpkins <git.simpkins@gmail.com>2020-03-09 22:04:59 -0400
committerChris Simpkins <git.simpkins@gmail.com>2020-03-09 22:04:59 -0400
commit9f734c978c4c32eea552d45fef582804c1d2b9bf (patch)
treeb7e2fb8311590c160738a8d035bb4702473dd0b1
parent259b06e33f533096f0b46beca8719fd4afceb78b (diff)
downloadrust-9f734c978c4c32eea552d45fef582804c1d2b9bf.tar.gz
rust-9f734c978c4c32eea552d45fef582804c1d2b9bf.zip
Add documentation of tool testing with x.py script
-rw-r--r--src/bootstrap/flags.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/bootstrap/flags.rs b/src/bootstrap/flags.rs
index 516be6a30c2..a8b76c44f79 100644
--- a/src/bootstrap/flags.rs
+++ b/src/bootstrap/flags.rs
@@ -359,7 +359,7 @@ Arguments:
                 subcommand_help.push_str(
                     "\n
 Arguments:
-    This subcommand accepts a number of paths to directories to tests that
+    This subcommand accepts a number of paths to test directories that
     should be compiled and run. For example:
 
         ./x.py test src/test/ui
@@ -367,11 +367,15 @@ Arguments:
         ./x.py test src/libstd --stage 0 --no-doc
         ./x.py test src/test/ui --bless
         ./x.py test src/test/ui --compare-mode nll
-
+    
     Note that `test src/test/* --stage N` does NOT depend on `build src/rustc --stage N`;
     just like `build src/libstd --stage N` it tests the compiler produced by the previous
     stage.
 
+    Execute tool tests with a tool name argument:
+
+        ./x.py test tidy
+
     If no arguments are passed then the complete artifacts for that stage are
     compiled and tested.