| Age | Commit message (Collapse) | Author |
|
|
|
|
|
I think the wrong terminating argument cannot work.
To stop the noisy CI failures, the spec is tentatively suspended.
|
|
|
|
|
|
|
|
Previously, the external encoding was only set correctly for
File::BINARY if keyword arguments were provided. This copies
the logic for the keyword arguments case to the no keyword
arguments case. Possibly it should be refactored into a
separate function.
Fixes [Bug #16737]
Notes:
Merged: https://github.com/ruby/ruby/pull/2985
|
|
https://github.com/ruby/reline/commit/f4eac8c76f
|
|
The test seems to fail sometimes due to a warning message of circular
require on very slow machine.
```
1) Failure:
TestDigest::TestDigestParen#test_race_mixed [/export/home/rubyci/unstable10s/tmp/build/20200326T091911Z/ruby/test/digest/test_digest.rb:263]:
assert_separately failed with error message
pid 12458 exit 0
| /export/home/rubyci/unstable10s/tmp/build/20200326T091911Z/ruby/.ext/common/digest.rb:17: warning: /export/home/rubyci/unstable10s/tmp/build/20200326T091911Z/ruby/.ext/common/digest.rb:17: warning: loading in progress, circular require considered harmful - /export/home/rubyci/unstable10s/tmp/build/20200326T091911Z/ruby/test/digest/digest/foo.rb
| from -:10:in `block (2 levels) in <main>'
| from /export/home/rubyci/unstable10s/tmp/build/20200326T091911Z/ruby/.ext/common/digest.rb:17:in `const_missing'
| from /export/home/rubyci/unstable10s/tmp/build/20200326T091911Z/ruby/.ext/common/digest.rb:17:in `require'
|
```
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10s/ruby-master/log/20200326T091911Z.fail.html.gz
|
|
About the defalut values.
Notes:
Merged: https://github.com/ruby/ruby/pull/2977
Merged-By: nobu <nobu@ruby-lang.org>
|
|
|
|
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
|
|
|
|
|
|
https://github.com/ruby/uri/commit/1bcb1203ad
|
|
https://github.com/ruby/uri/commit/f1c133a7d6
|
|
https://github.com/ruby/uri/commit/805a95786a
|
|
https://github.com/ruby/uri/commit/c145017dd7
|
|
So that we don't need to search the LOAD_PATH, given that we know which
files we want to load in advance.
https://github.com/ruby/uri/commit/cbecefb788
|
|
https://github.com/ruby/reline/commit/623dffdd75
|
|
https://github.com/ruby/reline/commit/2a8061daec
|
|
https://github.com/ruby/reline/commit/b0f32f5de4
|
|
https://github.com/ruby/reline/commit/f092519525
|
|
https://github.com/ruby/reline/commit/bce7e7562b
|
|
https://github.com/ruby/reline/commit/962ebf5a1b
|
|
https://github.com/ruby/irb/commit/13572d8cdc
|
|
The old implementation performance test code:
require 'objspace'
puts "%.5g MB" % (ObjectSpace.memsize_of_all * 0.001 * 0.001)
/\A.*\Z/ !~ ('abc' * 20_000_000)
puts "%.5g MB" % (ObjectSpace.memsize_of_all * 0.001 * 0.001)
and run `time test.rb`:
2.5868 MB
62.226 MB
real 0m1.307s
user 0m0.452s
sys 0m0.797s
The new implementation performance test code:
require 'objspace'
puts "%.5g MB" % (ObjectSpace.memsize_of_all * 0.001 * 0.001)
('abc' * 20_000_000).include?("\n")
puts "%.5g MB" % (ObjectSpace.memsize_of_all * 0.001 * 0.001)
and run `time test.rb`:
2.5861 MB
62.226 MB
real 0m0.132s
user 0m0.088s
sys 0m0.042s
https://github.com/ruby/irb/commit/40d6610baf
|
|
https://github.com/ruby/irb/commit/0a641a69b0
|
|
To fix this properly, we'd need to configure timeout for the server and
the client because waiting for compilation takes time.
Until we figure out how to do it, let me skip this.
|
|
|
|
RB_NOGVL_UBF_ASYNC_SAFE is wrongly specified because flags
is not checked.
[Bug #15499] 23444302
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2979
|
|
As `RbConfig.expand` modifies the argument and involved `CONFIG`
values, its values should be mutable.
|
|
|
|
|
|
|
|
|
|
RubyGems chooses available one from the two: /usr/bin/env or /bin/env
https://github.com/rubygems/rubygems/blob/20b0d609484df2b514954ba9ef890a7cbdd01d18/lib/rubygems/installer.rb#L38
So, it is good not to hard-code /usr/bin/env in tests.
This is a retry of 65201c054a90c8e7beb8fe1e6d0006541ac33449 which was
accidentally deleted by 96064e6f1ce100a37680dc8f9509f06b3350e9c8
|
|
Notes:
Merged-By: hsbt <hsbt@ruby-lang.org>
|
|
Notes:
Merged-By: hsbt <hsbt@ruby-lang.org>
|
|
|
|
This spec fails too often
https://github.com/ruby/ruby/runs/529546249
https://github.com/ruby/ruby/runs/524933256
|
|
hoping to fix https://github.com/ruby/actions/runs/527422022
|
|
|
|
And then the environment variable.
|
|
|
|
... because it conflicts with test/ruby/test_m17n.rb.
An exception `incompatible character encodings: UTF-8 and UTF-16BE`
occurs when:
* a non-existence relative path is added to $LOAD_PATH,
* ASCII-incompatible encoding is set to default_external, and
* some file is loaded.
```
$LOAD_PATH << "no_existing_dir"
Encoding.default_external = Encoding::UTF_16BE
load "dummy.rb" #=> incompatible character encodings: UTF-8 and UTF-16BE
```
This issue can be actually observed by a combination of out-of-place
build and the following command:
make test-all TESTS="json ruby/m17n -n test_object_inspect_external"
http://ci.rvm.jp/logfiles/brlog.trunk-test-random.20200322-221411
ASCII-incompatible default external encoding assumes that the cwd is the
encoding, and it is attempted to beconcatenated with a non-existence
relative LOAD_PATH UTF-8 string, which causes the exception.
This changeset avoids a relative path.
|
|
for consistency
|
|
|
|
variable of make instead of d059714746 as requested.
You can disable this like `make MJIT_WITHOUT_TABS=false` or
`export MJIT_WITHOUT_TABS=false`.
|