mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
It's RUN_OPTS, not RUNOPTS!!! via @tenderlove
This commit is contained in:
parent
341d5bdcb2
commit
27681f2694
1 changed files with 4 additions and 4 deletions
|
@ -162,25 +162,25 @@ There are 3 test suites:
|
|||
The tests can be run in parallel like this:
|
||||
|
||||
```
|
||||
make -j16 test-all RUNOPTS="--yjit-call-threshold=1"
|
||||
make -j16 test-all RUN_OPTS="--yjit-call-threshold=1"
|
||||
```
|
||||
|
||||
Or single-threaded like this, to more easily identify which specific test is failing:
|
||||
|
||||
```
|
||||
make test-all TESTOPTS=--verbose RUNOPTS="--yjit-call-threshold=1"
|
||||
make test-all TESTOPTS=--verbose RUN_OPTS="--yjit-call-threshold=1"
|
||||
```
|
||||
|
||||
To debug a single test in `test-all`:
|
||||
|
||||
```
|
||||
make test-all TESTS='test/-ext-/marshal/test_usrmarshal.rb' RUNRUBYOPT=--debugger=lldb RUNOPTS="--yjit-call-threshold=1"
|
||||
make test-all TESTS='test/-ext-/marshal/test_usrmarshal.rb' RUNRUBYOPT=--debugger=lldb RUN_OPTS="--yjit-call-threshold=1"
|
||||
```
|
||||
|
||||
You can also run one specific test in `btest`:
|
||||
|
||||
```
|
||||
make btest BTESTS=bootstraptest/test_ractor.rb RUNOPTS="--yjit-call-threshold=1"
|
||||
make btest BTESTS=bootstraptest/test_ractor.rb RUN_OPTS="--yjit-call-threshold=1"
|
||||
```
|
||||
|
||||
There are shortcuts to run/debug your own test/repro in `test.rb`:
|
||||
|
|
Loading…
Add table
Reference in a new issue