Closed
Description
The option --filter testname
for running specific tests is documented in CONTRIBUTING.md and bootstrap/README.md.
There's one problem however, this option doesn't exist!
$ ../x.py test src/test/run-make --filter graphviz
Finished debug [unoptimized] target(s) in 0.0 secs
failed to parse options: Unrecognized option: 'filter'.
Usage: x.py test [options] [<args>...]
The correct invocation uses highly unobvious --test-args
instead of --filter
:
../x.py test src/test/run-make --test-args graphviz
I'd never guess it without some digging through the source code, it's very surprising to me that people somehow use rustbuild for some time but nobody still reported this.