diff --git a/doc/yjit/yjit.md b/doc/yjit/yjit.md index 4c564f135b..b2769a0f5d 100644 --- a/doc/yjit/yjit.md +++ b/doc/yjit/yjit.md @@ -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