]> git.lizzy.rs Git - rust.git/commitdiff
improve test stage documentation
authorRalf Jung <post@ralfj.de>
Mon, 30 Jul 2018 10:57:20 +0000 (12:57 +0200)
committerRalf Jung <post@ralfj.de>
Mon, 30 Jul 2018 11:10:55 +0000 (13:10 +0200)
src/bootstrap/flags.rs

index 23a02c86683b13c70c30d55149fa9d860422b4ab..60b4d65f444014133bd81262a7cbdcabea84bdfe 100644 (file)
@@ -261,7 +261,7 @@ pub fn parse(args: &[String]) -> Flags {
 
         ./x.py build --stage 1 src/libtest
 
-    This will first build everything once (like --stage 0 without further
+    This will first build everything once (like `--stage 0` without further
     arguments would), and then use the compiler built in stage 0 to build
     src/libtest and its dependencies.
     Once this is done, build/$ARCH/stage1 contains a usable compiler.",
@@ -293,10 +293,14 @@ pub fn parse(args: &[String]) -> Flags {
 
         ./x.py test src/test/run-pass
         ./x.py test src/libstd --test-args hash_map
-        ./x.py test src/libstd --stage 0
+        ./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.
+
     If no arguments are passed then the complete artifacts for that stage are
     compiled and tested.