aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maximechevalierb@gmail.com>2021-06-03 15:25:53 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:35 -0400
commit9a55fd37c926f7297e2039a0436aae755a06ce78 (patch)
tree823deea69a5f9436dc9f6ae2b633435c5769e67d /README.md
parent43acb9d7f0d96caec6c517d3e9097b956bc91dd9 (diff)
downloadruby-9a55fd37c926f7297e2039a0436aae755a06ce78.tar.gz
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 11 insertions, 6 deletions
diff --git a/README.md b/README.md
index ad086132af..705864f82e 100644
--- a/README.md
+++ b/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"
+```
+
+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 `test.rb`:
+There are shortcuts to run/debug your own test/repro in `test.rb`:
```
make run # runs ./miniruby test.rb