docs / rustpkg: Document rustpkg test more

Talk about `rustpkg test` in the tutorial, and update its usage message.
This commit is contained in:
Tim Chevalier 2013-10-01 12:05:57 -07:00
parent acf9783879
commit 8ba148b295
2 changed files with 51 additions and 3 deletions

View file

@ -141,9 +141,9 @@ information.");
pub fn test() {
io::println("rustpkg [options..] test
Build all targets described in the package script in the current directory
with the test flag. The test bootstraps will be run afterwards and the output
and exit code will be redirected.
Build all test crates in the current directory with the test flag.
Then, run all the resulting test executables, redirecting the output
and exit code.
Options:
-c, --cfg Pass a cfg flag to the package script");