File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -131,8 +131,10 @@ Some common make targets are:
131
131
& everything builds in the correct manner.
132
132
- ` make check-stage1-std NO_REBUILD=1 ` - test the standard library without
133
133
rebuilding the entire compiler
134
- - ` make check TESTNAME=<path-to-test-file>.rs ` - Run a single test file
135
- - ` make check-stage1-rpass TESTNAME=<path-to-test-file>.rs ` - Run a single
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.
136
+ ` 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
136
138
rpass test with the stage1 compiler (this will be quicker than running the
137
139
command above as we only build the stage1 compiler, not the entire thing).
138
140
You can also leave off the ` -rpass ` to run all stage1 test types.
You can’t perform that action at this time.
0 commit comments