about summary refs log tree commit diff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorRyan Thomas <ryan@ryant.org>2016-02-02 10:57:24 +1100
committerRyan Thomas <ryan@ryant.org>2016-02-02 10:57:24 +1100
commita5e491fa9249d15876c85cf356910588b49fb257 (patch)
tree7ae83c70f9a89d0283ad510ac6dd915f12750ca0 /CONTRIBUTING.md
parent66eb5884760eb069dae6df0b7993110b5614f595 (diff)
downloadrust-a5e491fa9249d15876c85cf356910588b49fb257.tar.gz
rust-a5e491fa9249d15876c85cf356910588b49fb257.zip
Update TESTNAME matching description
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index f4d9c724877..3f9a5a04305 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -131,10 +131,12 @@ Some common make targets are:
   & everything builds in the correct manner.
 - `make check-stage1-std NO_REBUILD=1` - test the standard library without
   rebuilding the entire compiler
-- `make check TESTNAME=<name-of-test-to-run>` - Run a single test file
-  - `TESTNAME` should be the fully qualified name of the test function, e.g.
+- `make check TESTNAME=<substring-of-test-name>` - Run a single test file
+  - `TESTNAME` should be a substring of the tests to match against e.g. it could 
+    be the fully qualified test name, or just a part of it. 
     `TESTNAME=collections::hash::map::test_map::test_capacity_not_less_than_len`
-- `make check-stage1-rpass TESTNAME=<name-of-test-to-run>` - Run a single
+    or `TESTNAME=test_capacity_not_less_than_len`.
+- `make check-stage1-rpass TESTNAME=<substring-of-test-name>` - Run a single
   rpass test with the stage1 compiler (this will be quicker than running the
   command above as we only build the stage1 compiler, not the entire thing).
   You can also leave off the `-rpass` to run all stage1 test types.