| Age | Commit message (Collapse) | Author |
|
Fix up GH-15785.
|
|
The version message may contain other info such as the distribution.
e.g.:
```console
$ /usr/bin/git --version
git version 2.50.1 (Apple Git-155)
```
|
|
|
|
|
|
if test is omitted.
Follow up c4e090def134f9b109991b74c027648564963763
|
|
This test has been reliably failing on recent trunk versions.
See: <https://github.com/ruby/ruby/actions/runs/19519712433/job/55880266450#step:14:120>
|
|
https://github.com/ruby/actions/actions/runs/19420968008/job/55558315338
```
1) Error:
TestCommitEmail#test_sendmail_encoding:
Test::Unit::ProxyError: No such file or directory - git
/home/runner/work/actions/actions/ruby-4.0.0-preview2/lib/open3.rb:534:in 'Kernel#spawn'
/home/runner/work/actions/actions/ruby-4.0.0-preview2/lib/open3.rb:534:in 'Open3.popen_run'
/home/runner/work/actions/actions/ruby-4.0.0-preview2/lib/open3.rb:379:in 'Open3.popen2'
/home/runner/work/actions/actions/ruby-4.0.0-preview2/lib/open3.rb:785:in 'Open3.capture2'
/home/runner/work/actions/actions/ruby-4.0.0-preview2/tool/test/test_commit_email.rb:89:in 'TestCommitEmail#git'
/home/runner/work/actions/actions/ruby-4.0.0-preview2/tool/test/test_commit_email.rb:13:in 'block in TestCommitEmail#setup'
/home/runner/work/actions/actions/ruby-4.0.0-preview2/tool/test/test_commit_email.rb:12:in 'Dir.chdir'
/home/runner/work/actions/actions/ruby-4.0.0-preview2/tool/test/test_commit_email.rb:12:in 'TestCommitEmail#setup'
2) Error:
TestCommitEmail#test_sendmail_encoding:
Test::Unit::ProxyError: no implicit conversion of nil into String
/home/runner/work/actions/actions/ruby-4.0.0-preview2/tool/test/test_commit_email.rb:37:in 'File.unlink'
/home/runner/work/actions/actions/ruby-4.0.0-preview2/tool/test/test_commit_email.rb:37:in 'TestCommitEmail#teardown'
```
|
|
|
|
The path already used in tool/test/test_sync_default_gems.rb .
Try to fix errors on Windows.
https://github.com/ruby/ruby/actions/runs/19316448613/job/55248700110
|
|
I use `commit.gpgsign=true`, so I want to ignore it in tests.
|
|
Find interesting commits by following parents instead of relying on
"git log".
If we encounter a merge commit that may contain a conflict resolution,
fall back to cherry-picking the merge commit as a whole rather than
replaying each individual commit. The sync commit will include a
shortlog for the squashed commits in that case.
|
|
No behavior change is intended by this change.
|
|
Use "git commit --amend" instead of "git filter-branch" since we only
need to handle one commit at HEAD.
|
|
|
|
`env` on macOS resets DYLD environment variables that are needed to
run ruby configured with `--enable-load-relative`. Use simple
commands instead, and `/bin/sh` that is specified in POSIX is more
portable than `/usr/bin/env`.
|
|
https://github.com/ruby/ruby/actions/runs/18365998053/job/52318906076
|
|
Hoping to work around failures on --with-gmp CI:
https://github.com/ruby/ruby/actions/runs/18365603616/job/52317792903
|
|
|
|
We use only ubuntu-latest on post_push.yml anyway.
|
|
as well
|
|
|
|
|
|
|
|
|
|
|
|
This reverts commit dbb5972b340f24d9ff4f3996f57439d5a6b3454e.
It didn't work, sorry.
|
|
which makes it more obvious what it's doing.
|
|
on a require attempt
|
|
from https://github.com/ruby/git.ruby-lang.org/commit/2c4628e489ed00732a5bcde3373d784307c54280.
Also drop ostruct from dependencies. We could remove nkf if we use
base64, but it's also a bundled gem, so it doesn't really help.
|
|
|
|
No one uses `sync_default_gems_with` on other platforms; it is used by
the dedicated workflow and a few developers only.
|
|
|
|
|
|
* Update method names.
* Sort shuffled tests by names.
Notes:
Merged: https://github.com/ruby/ruby/pull/13640
|
|
This reverts commit 980f61935f6e8331e0908dc963e60fb727ab4d8c, which
seems no longer needed.
Notes:
Merged: https://github.com/ruby/ruby/pull/13640
|
|
The test fails randomly for unknown reason.
https://github.com/ruby/ruby/actions/runs/14121674932/job/39562945096?pr=12993
```
1) Error:
TestParallel::TestParallel#test_retry_workers:
Test::Unit::ProxyError: execution expired (start: 2025-03-28 04:04:10 +0000, end: 2025-03-28 04:05:50 +0000)
/home/runner/work/ruby/ruby/src/tool/test/testunit/test_parallel.rb:16:in 'TestParallel.timeout'
/home/runner/work/ruby/ruby/src/tool/test/testunit/test_parallel.rb:225:in 'TestParallel::TestParallel#test_retry_workers'
```
Maybe the workers do not respond "quit" request.
We no longer use the retry mechanism, so just remove the test.
Notes:
Merged: https://github.com/ruby/ruby/pull/12993
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/12993
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/12993
|
|
Currently, the following tests are flaky and failing intermittently, so I'm going to increase the timeout to improve stability.
```
1) Failure:
TestParallel::TestParallel#test_hungup [/Users/runner/work/ruby/ruby/src/tool/lib/zombie_hunter.rb:6]:
Expected [[42009, #<Process::Status: pid 42009 SIGKILL (signal 9)>]] to be empty.
2) Error:
TestParallel::TestParallel#test_hungup:
Test::Unit::ProxyError: execution expired
/Users/runner/work/ruby/ruby/src/lib/timeout.rb:40:in 'Timeout::Error.handle_timeout'
/Users/runner/work/ruby/ruby/src/lib/timeout.rb:194:in 'Timeout.timeout'
/Users/runner/work/ruby/ruby/src/tool/test/testunit/test_parallel.rb:210:in 'TestParallel::TestParallel#test_hungup'
```
https://github.com/ruby/ruby/actions/runs/13560087551/job/37901506230#step:14:105
```
1) Error:
TestParallel::TestParallel#test_retry_workers:
Test::Unit::ProxyError: execution expired
/Users/runner/work/ruby/ruby/src/lib/timeout.rb:40:in 'Timeout::Error.handle_timeout'
/Users/runner/work/ruby/ruby/src/lib/timeout.rb:194:in 'Timeout.timeout'
/Users/runner/work/ruby/ruby/src/tool/test/testunit/test_parallel.rb:217:in 'TestParallel::TestParallel#test_retry_workers'
```
https://github.com/ruby/ruby/actions/runs/13559151505/job/37899041580#step:14:106
Notes:
Merged-By: ono-max <onoto1998@gmail.com>
|
|
[Misc #20661] Stop retrying tests in make test-all command by default
Notes:
Merged-By: ono-max <onoto1998@gmail.com>
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/12740
|
|
Similar to `Test::Unit::assert_raise`, but allows sub classes too.
Notes:
Merged: https://github.com/ruby/ruby/pull/12625
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/12625
|
|
When RUBY_TEST_TIMEOUT_SCALE is set, the timeout increases by the multiple
specified. However, the test in test4test_hungup.rb does not scale, so
if RUBY_TEST_TIMEOUT_SCALE is a large number like 10, then the test will
not time out causing the tests test to fail.
Notes:
Merged: https://github.com/ruby/ruby/pull/11959
|
|
Single `Integer` argument means an exact match to the major version.
Notes:
Merged: https://github.com/ruby/ruby/pull/11604
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/11315
|
|
We can handle uri, time and others without `make test-all` dependencies now.
|
|
|
|
|
|
Not only defined in `Test::Unit` or `CoreAssertions`, also show the
caller location of assertion methods defined in the current class or
ancestors.
|