We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be1d3c4 commit a58da1bCopy full SHA for a58da1b
src/tests/running.md
@@ -92,6 +92,20 @@ tests for components you did not change at all.
92
build; therefore, while the tests **usually** work fine with stage 1,
93
there are some limitations.
94
95
+## Run unit tests on the compiler/library
96
+
97
+You may want to run unit tests on a specific file with following:
98
99
+```bash
100
+./x.py test compiler/rustc_data_structures/src/thin_vec/tests.rs
101
+```
102
103
+But unfortunately, it's impossible. You should invoke following instead:
104
105
106
+./x.py test compiler/rustc_data_structures/ --test-args thin_vec
107
108
109
## Running an individual test
110
111
Another common thing that people want to do is to run an **individual
0 commit comments