| Age | Commit message (Collapse) | Author |
|
This is a combination of main Ruby commit
https://github.com/ruby/ruby/commit/aefc98891c42024039f19ef45bdfe93fbc590b7c
and my PR correcting the regex https://github.com/ruby/ruby/pull/10819.
Upstream Ruby requests that changes to this test go to readline-ext repo
before being backported to 3.2 branch.
https://github.com/ruby/readline-ext/commit/868f873a78
|
|
Skip the test_interrupt_in_other_thread test failing on Travis arm32.
The failing test is not a new issue. It had already been skipped in .travis.yml
before updating .travis.yml.
https://github.com/ruby/ruby/blob/7b05cb8dbbd637910757f402e64da3908b4bb809/.travis.yml#L99-L101
Note that RUBY_PLATFORM is "armv8l-linux-eabihf" on Travis arm32 pipeline.
And the readline was deleted in both master and ruby_3_3 branches.
https://github.com/ruby/ruby/commit/59fd67fc3d405e529e038172e769ff20a8fb5535
So, we only need this commit on ruby_3_2 and older Ruby version branches.
|
|
`ruby` is not always available in certain build environments and
configure options. Choose appropriate command line using EnvUtil.
Notes:
Merged: https://github.com/ruby/ruby/pull/5417
|
|
|
|
|
|
|
|
|
|
|
|
So that the actually run test code corresponds to the source file
line-by-line.
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5339
|
|
... because readline library (or libtinfo) seems to cause SEGV
internally even with Readline 8.1.
This SEGV is caught as SystemStackError, which leads to a test failure.
http://rubyci.s3.amazonaws.com/debian-i386/ruby-master/log/20211109T030008Z.fail.html.gz
```
1) Failure:
TestReadline#test_interrupt_in_other_thread [/home/chkbuild/chkbuild/tmp/build/20211109T030008Z/ruby/test/readline/test_readline.rb:568]:
Unknown failure with exit status pid 13097 exit 1
Log: ** START **Readline::VERSION is 8.1.
/home/chkbuild/chkbuild/tmp/build/20211109T030008Z/tmp/interrupt_in_other_thread20211109-6272-kcfqxo:13:in `readline': stack level too deep (SystemStackError)
from /home/chkbuild/chkbuild/tmp/build/20211109T030008Z/tmp/interrupt_in_other_thread20211109-6272-kcfqxo:13:in `block in <main>'
/home/chkbuild/chkbuild/tmp/build/20211109T030008Z/tmp/interrupt_in_other_thread20211109-6272-kcfqxo:13:in `readline': stack level too deep (SystemStackError)
from /home/chkbuild/chkbuild/tmp/build/20211109T030008Z/tmp/interrupt_in_other_thread20211109-6272-kcfqxo:13:in `block in <main>'
```
|
|
Readline seems to emit an escape sequence `"\e[?1034h` at an
unpredictable timing when `TERM=xterm` or something.
This leads to a noisy random test failure.
http://rubyci.s3.amazonaws.com/amazon2/ruby-master/log/20211102T063005Z.fail.html.gz
```
1) Failure:
TestReadline#test_modify_text_in_pre_input_hook [/home/chkbuild/chkbuild/tmp/build/20211102T063005Z/ruby/test/readline/test_readline.rb:404]:
<"> hello world\n"> expected but was
<"\e[?1034h> hello world\n">.
```
This test is for Ruby's readline extension, not for readline library
itself. So here this change force to use "TERM=vt100" to run the tests.
|
|
https://github.com/ruby/readline-ext/commit/a2835ce957
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4796
|
|
https://github.com/ruby/readline-ext/commit/d924cfc1e6
|
|
This reverts commit c66b27efbb27c6b6b410457282ac841ead1dd132.
|
|
|
|
|
|
|
|
|
|
To make the meaning of assertion easier to understand,
|
|
|
|
|
|
|
|
Because it's sometimes nil due to race condition.
|
|
|
|
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4722
|
|
- Capture that the child is started by initial log line.
- More robust handling of child status reaping.
- Direct exit without sucess mesage if `#readline` receives input.
Notes:
Merged: https://github.com/ruby/ruby/pull/4721
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4704
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4704
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4704
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4704
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4704
|
|
When fiddle is not avaiable, reline/terminfo depending on it also
fails.
|
|
|
|
|
|
|
|
|
|
|