ruby-changes:69101
From: Maxime <ko1@a...>
Date: Thu, 21 Oct 2021 08:20:50 +0900 (JST)
Subject: [ruby-changes:69101] 27681f2694 (master): It's RUN_OPTS, not RUNOPTS!!! via @tenderlove
https://git.ruby-lang.org/ruby.git/commit/?id=27681f2694 From 27681f269463b65b566eb857c36a504db9190618 Mon Sep 17 00:00:00 2001 From: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@s...> Date: Thu, 15 Jul 2021 12:29:49 -0400 Subject: It's RUN_OPTS, not RUNOPTS!!! via @tenderlove --- README.md | 8 ++++---- 1 file 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: https://github.com/ruby/ruby/blob/trunk/README.md#L162 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`: -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/