From 8ed52ed27d87ed4f17217e3daac49a858a2daa1f Mon Sep 17 00:00:00 2001 From: Seo Sanghyeon Date: Wed, 14 Dec 2016 01:31:48 +0900 Subject: Document --test-args for rustbuild --- src/bootstrap/README.md | 4 ++-- src/bootstrap/flags.rs | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/bootstrap/README.md b/src/bootstrap/README.md index d0b501e4d89..b6e66fe3411 100644 --- a/src/bootstrap/README.md +++ b/src/bootstrap/README.md @@ -22,7 +22,7 @@ Note that if you're on Unix you should be able to execute the script directly: ./x.py build ``` -The script accepts commands, flags, and filters to determine what to do: +The script accepts commands, flags, and arguments to determine what to do: * `build` - a general purpose command for compiling code. Alone `build` will bootstrap the entire compiler, and otherwise arguments passed indicate what to @@ -54,7 +54,7 @@ The script accepts commands, flags, and filters to determine what to do: ./x.py test src/test/run-pass # execute only some tests in the run-pass test suite - ./x.py test src/test/run-pass --filter my-filter + ./x.py test src/test/run-pass --test-args substring-of-test-name # execute tests in the standard library in stage0 ./x.py test --stage 0 src/libstd diff --git a/src/bootstrap/flags.rs b/src/bootstrap/flags.rs index 7a2d56fc5d3..c19d0fdf898 100644 --- a/src/bootstrap/flags.rs +++ b/src/bootstrap/flags.rs @@ -108,7 +108,6 @@ Arguments: tests that should be compiled and run. For example: ./x.py test src/test/run-pass - ./x.py test src/test/run-pass/assert-* ./x.py test src/libstd --test-args hash_map ./x.py test src/libstd --stage 0 -- cgit 1.4.1-3-g733a5