Skip to content

Commit a5e491f

Browse files
committed
Update TESTNAME matching description
1 parent 66eb588 commit a5e491f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

CONTRIBUTING.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,12 @@ Some common make targets are:
131131
& everything builds in the correct manner.
132132
- `make check-stage1-std NO_REBUILD=1` - test the standard library without
133133
rebuilding the entire compiler
134-
- `make check TESTNAME=<name-of-test-to-run>` - Run a single test file
135-
- `TESTNAME` should be the fully qualified name of the test function, e.g.
134+
- `make check TESTNAME=<substring-of-test-name>` - Run a single test file
135+
- `TESTNAME` should be a substring of the tests to match against e.g. it could
136+
be the fully qualified test name, or just a part of it.
136137
`TESTNAME=collections::hash::map::test_map::test_capacity_not_less_than_len`
137-
- `make check-stage1-rpass TESTNAME=<name-of-test-to-run>` - Run a single
138+
or `TESTNAME=test_capacity_not_less_than_len`.
139+
- `make check-stage1-rpass TESTNAME=<substring-of-test-name>` - Run a single
138140
rpass test with the stage1 compiler (this will be quicker than running the
139141
command above as we only build the stage1 compiler, not the entire thing).
140142
You can also leave off the `-rpass` to run all stage1 test types.

0 commit comments

Comments
 (0)