mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update README.md
This commit is contained in:
parent
43acb9d7f0
commit
9a55fd37c9
1 changed files with 11 additions and 6 deletions
17
README.md
17
README.md
|
@ -162,23 +162,28 @@ There are 3 test suites:
|
|||
The tests can be run in parallel like this:
|
||||
|
||||
```
|
||||
make -j16 test-all
|
||||
make -j16 test-all RUNOPTS="--yjit-call-threshold=1"
|
||||
```
|
||||
|
||||
You can run one specific test in `btest`:
|
||||
Or single-threaded like this, to more easily identify which specific test is failing:
|
||||
|
||||
```
|
||||
make btest BTESTS=bootstraptest/test_ractor.rb
|
||||
make test-all TESTOPTS=--verbose RUNOPTS="--yjit-call-threshold=1"
|
||||
```
|
||||
|
||||
To debug a single test in `test-all`:
|
||||
|
||||
```
|
||||
make test-all TESTOPTS=--verbose
|
||||
make test-all TESTS='test/-ext-/marshal/test_usrmarshal.rb' RUNRUBYOPT=--debugger=lldb
|
||||
make test-all TESTS='test/-ext-/marshal/test_usrmarshal.rb' RUNRUBYOPT=--debugger=lldb RUNOPTS="--yjit-call-threshold=1"
|
||||
```
|
||||
|
||||
There are shortcuts to run/debug `test.rb`:
|
||||
You can also run one specific test in `btest`:
|
||||
|
||||
```
|
||||
make btest BTESTS=bootstraptest/test_ractor.rb RUNOPTS="--yjit-call-threshold=1"
|
||||
```
|
||||
|
||||
There are shortcuts to run/debug your own test/repro in `test.rb`:
|
||||
|
||||
```
|
||||
make run # runs ./miniruby test.rb
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue