aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2021-07-15 12:29:49 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:37 -0400
commit27681f269463b65b566eb857c36a504db9190618 (patch)
tree180f4c899bcb36b19d717589d1dbf1d74ea63ac2 /README.md
parent341d5bdcb229858935300056695f178a0ee4f8ff (diff)
downloadruby-27681f269463b65b566eb857c36a504db9190618.tar.gz
It's RUN_OPTS, not RUNOPTS!!! via @tenderlove
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 2995999911..c9db0770ee 100644
--- a/README.md
+++ b/README.md
@@ -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`: