wren-cli icon indicating copy to clipboard operation
wren-cli copied to clipboard

Stdin tests fail on windows/mac

Open ruby0x1 opened this issue 5 years ago • 1 comments

For now the following tests are skipped:

  • test/io/stdin/read_byte_eof.wren
  • test/io/stdin/read_line_eof.wren
  • test/io/stdin/read_line.wren

On windows they time out, and on mac they have assertions. It seems the behavior of stdin is not consistent here (wren-cli code) or the test mechanics in python side (util/test.py) has differences. Given that the errors come from wren-cli side it's hard to tell since the code is the same.

Running the test manually via `bin/wren_cli test/io/stdin/read_line.wren) will work ok, because we're in a terminal typing on stdin.

ruby0x1 avatar May 28 '20 20:05 ruby0x1

Point of recent data: I tested all 3 just now on Mac OS Mohave and all tests are green.

and on mac they have assertions.

I'm not sure I understand what you are saying here.

joshgoebel avatar Apr 30 '21 11:04 joshgoebel