File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,10 @@ To run the tool's tests, just pass its path to `./x test`.
124
124
125
125
Usually these tools involve running ` cargo test ` within the tool's directory.
126
126
127
+ If you want to run only a specified set of tests, append ` --test-args FILTER_NAME ` to the command.
128
+
129
+ > Example: ` ./x test src/tools/miri --test-args padding `
130
+
127
131
In CI, some tools are allowed to fail.
128
132
Failures send notifications to the corresponding teams, and is tracked on the [ toolstate website] .
129
133
More information can be found in the [ toolstate documentation] .
Original file line number Diff line number Diff line change @@ -62,6 +62,13 @@ Likewise, you can test a single file by passing its path:
62
62
./x test tests/ui/const-generics/const-test.rs
63
63
```
64
64
65
+ ` x ` doesn't support running a single tool test by passing its path yet.
66
+ You'll have to use the ` --test-args ` argument as describled [ below] ( #running-an-individual-test ) .
67
+
68
+ ``` bash
69
+ ./x test src/tools/miri --test-args tests/fail/uninit/padding-enum.rs
70
+ ```
71
+
65
72
### Run only the tidy script
66
73
67
74
``` bash
You can’t perform that action at this time.
0 commit comments