Issue #10643 has been updated by MSP-Greg (Greg L).

File test_ruby_options.rb_results.txt added

Hello,

Below are the two failures for `test_rubyoptions.rb`, using `ruby 2.4.4p228 (2018-01-15 revision 61854) [x64-mingw32]` and `test_rubyoptions.rb` at the same commit:

```
# Note - Two skips for 'platform dependent feature'

  3) Failure:
TestRubyOptions#test_search [E:/GitHub/ruby-loco/src/ruby/test/ruby/test_rubyoptions.rb:300]:

1. [1/2] Assertion for "stdout"
   | <["1"]> expected but was
   | <[]>.

  4) Failure:
TestRubyOptions#test_command_line_progname_nonascii [E:/GitHub/ruby-loco/src/ruby/test/ruby/test_rubyoptions.rb:754]:
[ruby-dev:48752] [Bug #10555].

1. [1/2] Assertion for "stdout"
   | <["\xFF.rb"]> expected but was
   | <[]>.

2. [2/2] Assertion for "stderr"
   | <[]> expected but was
   | <["E:\\GitHub\\ruby-loco\\src\\build24_64\\ruby.exe: No such file or directory -- .rb (LoadError)"]>.

55 tests, 686 assertions, 2 failures, 0 errors, 2 skips
```

Using `test_ruby_options.rb` from the repo checked out at 2018-01-16  61858  03bbc4ed5, both trunk have no failures/errors, and two matching skips as above.

I've attached the results of `test_ruby_options.rb` using `ruby 2.4.4p228 (2018-01-15 revision 61854) [x64-mingw32]`.  Summary is:

```
58 tests, 689 assertions, 9 failures, 2 errors, 2 skips
```

Some of these appear to be frozen string related, some encoding, and some may be ruby options that exist in 2.4.x, but additional tests were added in trunk.

If you'd like me to find commits related to any of these, please let me know.

Thanks, Greg

----------------------------------------
Bug #10643: 2.2: TestRubyOptions#test_command_line_progname_nonascii test failure (MinGW)
https://bugs.ruby-lang.org/issues/10643#change-69587

* Author: luislavena (Luis Lavena)
* Status: Closed
* Priority: Normal
* Assignee: nobu (Nobuyoshi Nakada)
* Target version: 
* ruby -v: ruby 2.2.0dev (2014-12-24) [i386-mingw32]
* Backport: 2.4: REQUIRED, 2.5: DONTNEED
----------------------------------------
Hello,

Running tests against ruby_2_2 branch, the following failures were detected (mingw-w64 4.7.2 32bits, GCC 4.7.2, Windows 7 x64):

~~~
TestRubyOptions#test_command_line_progname_nonascii [C:/Users/Luis/Code/ruby/ruby/test/ruby/test_rubyoptions.rb:719]:
[ruby-dev:48752] [Bug #10555].
<["?.rb"]> expected but was
<[]>.
---
<[]> expected but was
<["C:\\Users\\Luis\\Code\\oneclick\\rubyinstaller\\sandbox\\ruby21_build\\ruby.exe: Invalid argument -- ?.rb (LoadError)"]>.
~~~


---Files--------------------------------
test_ruby_options.rb_results.txt (13 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>