`configure.bat --with-gnu-make` writes only `GNUmakefile`. The tests under `test/mkmf` failed to load with `Errno::ENOENT`, and `spec/default.mspec` lost `srcdir` and ran specs without `tool/runruby.rb`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Same reason as the EnvUtil change. A spec that replaces RUBYOPT loses
the suppression, so the ruby mspec spawns prints the experimental
warning into the output ruby_exe returns.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The last -W switch wins, so prepending it left an inherited -w or -W2 in
control and the suppression quietly did nothing. `make test-all
RUBYOPT=-w` reproduces it: under `RUBY_BOX=1` test_open3.rb and
test_pty.rb stay at 12 and 4 failures, and reach 0 once the switch moves
behind the inherited options and in front of the bare "-".
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
test-all already turns experimental warnings off for its own process,
but tests that spawn ruby directly with Open3, IO.popen or PTY assert
the captured output verbatim. With `RUBY_BOX=1` in the environment
every child prints the Ruby::Box experimental warning to stderr, and 51
tests and specs fail on it. Pass `-W:no-experimental` down through
RUBYOPT. It has to precede the bare "-" that common.mk puts there,
because that ends the option scan.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* spec/default.mspec: suppress tons of useless use of == in void
context warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* spec/default.mspec (MSpecScript::JobServer#cores): limit max
number of processors, not to acquire tokens more than necessary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* spec/default.mspec: removed -I options for useless or non-
existent paths from flags. there is no library scripts and .ext
directory in the source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* spec/default.mspec (MSpecScript::JobServer#cores): defer getting
job tokens until required. when running only one spec file,
`-j` option has no effect.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* spec/default.mspec: override MSpecScript#cores by the tokens
from the parent make job server.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* spec/default.mspec (MSpecScript): add the end of options to
runruby.rb, to fix failure at ruby/spec@a0e55db.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* spec/default.mspec: set object directory for optional/capi, not
to pollute the source directory.
https://github.com/ruby/spec/pull/247
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* spec/default.mspec (flags): -I- has been no longer used since
long ago, and "." has not been in the default load path list too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
them with Dir.chdir; it breaks relative paths, for example
core/kernel/exec_spec.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e