| Age | Commit message (Collapse) | Author |
|
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
|
|
|
|
|
|
|
|
|
|
https://github.com/ruby/readline-ext/commit/f6dff0a9f6
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3322
|
|
|
|
|
|
GNU Readline add a white space when Readline.completion_append_character is
not initialized.
|
|
test_readline:
HISTORY should be empty.
test_using_quoting_detection_proc:
test_using_quoting_detection_proc_with_multibyte_input:
Readline.completer_quote_characters= and
Readline.completer_word_break_characters= doesn't accept nil,
so skip if previous values are nil.
|
|
random order test
|
|
In ruby/ruby, the tests run on both readline & reline by creating four test classes:
```
TestReadline
TestReadlineHistory
TestRelineAsReadline
TestRelineAsReadlineHistory
```
Reline inports the test files and uses them in its CI. Adding the ENV control allows it to only run the `TestRelineAsReadline` classes.
Notes:
Merged: https://github.com/ruby/ruby/pull/2916
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2914
|