Age | Commit message (Collapse) | Author |
|
We no longer execute those files with Solaris platforms.
Notes:
Merged: https://github.com/ruby/ruby/pull/13037
|
|
[Bug #20682] Add `sleep 0.1` to stabilize flaky failures on macOS
Notes:
Merged-By: ono-max <[email protected]>
|
|
https://github.com/ruby/io-console/commit/fdad351501
|
|
https://github.com/ruby/io-console/commit/74c78afc24
|
|
https://github.com/ruby/io-console/commit/32583460e1
|
|
https://github.com/ruby/io-console/commit/8b9b5b611a
|
|
https://github.com/ruby/io-console/commit/5f71354332
|
|
https://github.com/ruby/io-console/commit/57f9649df4
|
|
https://github.com/ruby/io-console/commit/9122c181eb
|
|
https://github.com/ruby/io-console/commit/aa8fc7e947
|
|
The tests looks for the .so file, which doesn't exist when the extension
is statically linked. In that situation it passes -I to ruby with
nothing after it which ate the -rio/console argument.
Notes:
Merged: https://github.com/ruby/ruby/pull/6765
|
|
|
|
|
|
bfc697f1e26f1406c45ec7309ca0d4c0b5ecedd6
|
|
|
|
Some tests that use signals frequently fail randomly on FreeBSD 13.
Maybe something around signals has changed in FreeBSD 13.
This change skips them tentatively.
|
|
```
Leaked file descriptor: TestIO_Console#test_console_kw: 10 : #<File:/dev/tty>
```
|
|
|
|
|
|
make test-all in parallel mode seems to hide stdout
|
|
to debug the following failure
http://ci.rvm.jp/results/trunk-test@ruby-sky1/3708240
```
/tmp/ruby/v3/src/trunk-test/test/io/console/test_io_console.rb:10:in `===': incompatible encoding regexp match (US-ASCII regexp with UTF-16BE string) (Encoding::CompatibilityError)
/tmp/ruby/v3/src/trunk-test/test/io/console/test_io_console.rb:10:in `each'
/tmp/ruby/v3/src/trunk-test/test/io/console/test_io_console.rb:10:in `grep'
/tmp/ruby/v3/src/trunk-test/test/io/console/test_io_console.rb:10:in `<class:TestIO_Console>'
/tmp/ruby/v3/src/trunk-test/test/io/console/test_io_console.rb:9:in `<top (required)>'
<internal:/tmp/ruby/v3/src/trunk-test/lib/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/tmp/ruby/v3/src/trunk-test/lib/rubygems/core_ext/kernel_require.rb>:85:in `require'
/tmp/ruby/v3/src/trunk-test/tool/lib/test/unit/parallel.rb:122:in `run'
/tmp/ruby/v3/src/trunk-test/tool/lib/test/unit/parallel.rb:211:in `<main>'
running file: /tmp/ruby/v3/src/trunk-test/test/io/console/test_io_console.rb
```
|
|
https://github.com/ruby/io-console/commit/48db3616da
|
|
JRuby's PTY.spawn does not produce a process with its own
controlling terminal, which is necessary for testing these raw
escape sequences. This commit marks those tests as pending.
The functionality tested appears to work at a command line, but
due to this PTY bug in JRuby we cannot test it this way.
See https://github.com/jruby/jruby/issues/6552
https://github.com/ruby/io-console/commit/a486b72e5e
https://github.com/ruby/io-console/commit/b5c8e7bfd8
|
|
This test runs with test/unit now, which defines omit instead of
skip.
https://github.com/ruby/io-console/commit/bd731d0b8d
|
|
The subprocess script here works fine at a command line, but when
run as a pty subprocess during the tests the master side hangs
waiting for output.
https://github.com/ruby/io-console/commit/4a21610ece
|
|
https://github.com/ruby/io-console/commit/74567376c4
|
|
Now io/console is loaded from test-unit indirectly, test-unit
requires power_assert which requires io/console.
https://github.com/ruby/io-console/commit/8817d07951
https://github.com/ruby/io-console/commit/639cce89de
|
|
https://github.com/ruby/io-console/commit/09e5ccc729
|
|
Fixed TypeError when IO#getch timed out
`rb_io_wait` returns a bit-flags Integer representing available
events, or Qfalse if timed out. Also the result of `NUM2INT` is
not a `VALUE`.
```
$ ./bin/ruby -v -rio/console -e "p IO.console.getch(intr: true, time: 0.1)"
ruby 3.0.0dev (2020-10-09T20:27:30Z master 5ea2ea74cc) [x64-mingw32]
-e:1:in `getch': no implicit conversion of false into Integer (TypeError)
from -e:1:in `<main>'
```
https://github.com/ruby/io-console/commit/3bdfaf62df
|
|
a begin-rescue-else.
https://github.com/ruby/io-console/commit/a22333c33a
|
|
|
|
https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris10-gcc/ruby-master/log/20200509T100003Z.fail.html.gz
```
1) Failure:
TestIO_Console#test_failed_path [/export/home/users/chkbuild/cb-gcc/tmp/build/20200509T100003Z/ruby/test/io/console/test_io_console.rb:40]:
[Errno::ENODEV, Errno::ENOTTY, Errno::EBADF] exception expected, not #<Errno::ENXIO: No such device or address - /dev/null>.
```
|
|
https://github.com/ruby/io-console/commit/530cec574c
|
|
May fail with ENOTTY instead of ENODEV.
https://github.com/ruby/io-console/commit/fe117b89e0
|
|
https://github.com/ruby/io-console/commit/06a540f9b4
|
|
This breaks tests using this path on JRuby because the `jruby`
executable turns into `jjruby` after the sub.
https://github.com/ruby/io-console/commit/e5951aa34c
|
|
https://github.com/ruby/io-console/commit/baaf929041
|
|
Hangs up only in ruby/ruby on Travis-CI.
https://github.com/ruby/io-console/commit/de39aa6dd6
|
|
* Default VMIN and VTIME to minimum input.
* Disable parity check bits explicitly.
* Disable all bits for flow control on input.
Co-Authored-By: NARUSE, Yui <[email protected]>
https://github.com/ruby/io-console/commit/5ce201a686
|
|
https://github.com/ruby/io-console/commit/8ed5a2bcc3
|
|
https://github.com/ruby/io-console/commit/b8411689a5
|
|
https://github.com/ruby/io-console/commit/9e3ec5b936
|
|
In raw mode with interrupt enabled.
https://github.com/ruby/io-console/commit/e9e8e3ff17
|
|
https://github.com/ruby/io-console/commit/4f01db102d
|
|
|
|
I'm not entirely sure why, but test_set_winsize_console gets stuck on
Solaris (and if I recall, macOS). I found a hack for FreeBSD, so I want
to give it a try on Solaris too.
|
|
Otherwise, the written data to pty before the reading started may
be just lost.
|
|
This reverts commit 5294ded681992ced2ecbd31c814b63265d2f591e.
|
|
https://github.com/ruby/io-console/commit/a3ad851b6c
|
|
https://github.com/ruby/io-console/commit/ab7653c543
|