Update yjit.md, explain how to run a single test with test-all (#11151)
This commit is contained in:
parent
9962e39547
commit
c0ad0c3e43
@ -385,12 +385,18 @@ Or single-threaded like this, to more easily identify which specific test is fai
|
||||
make test-all TESTOPTS=--verbose RUN_OPTS="--yjit-call-threshold=1"
|
||||
```
|
||||
|
||||
To debug a single test in `test-all`:
|
||||
To run a single test file with `test-all`:
|
||||
|
||||
```sh
|
||||
make test-all TESTS='test/-ext-/marshal/test_usrmarshal.rb' RUNRUBYOPT=--debugger=lldb RUN_OPTS="--yjit-call-threshold=1"
|
||||
```
|
||||
|
||||
It's also possible to filter tests by name to run a single test:
|
||||
|
||||
```sh
|
||||
make test-all TESTS='-n /test_float_plus/' RUN_OPTS="--yjit-call-threshold=1"
|
||||
```
|
||||
|
||||
You can also run one specific test in `btest`:
|
||||
|
||||
```sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user