about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2018-07-30 12:57:20 +0200
committerRalf Jung <post@ralfj.de>2018-07-30 13:10:55 +0200
commitaa7d7d0c2b7c85ae860b9eba61d59005b0d049b0 (patch)
tree388d1ea7f81ecf1719b3cc9b4a6466417ad27803 /src/bootstrap
parentf8d1dc88a7994d25e481d0272b555b22f9026afb (diff)
downloadrust-aa7d7d0c2b7c85ae860b9eba61d59005b0d049b0.tar.gz
rust-aa7d7d0c2b7c85ae860b9eba61d59005b0d049b0.zip
improve test stage documentation
Diffstat (limited to 'src/bootstrap')
-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 23a02c86683..60b4d65f444 100644
--- a/src/bootstrap/flags.rs
+++ b/src/bootstrap/flags.rs
@@ -261,7 +261,7 @@ Arguments:
 
         ./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 @@ Arguments:
 
         ./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.