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


@nagachika,

Sorry for not reporting more.  I think this issue was fixed sometime around 01-June, but I'm not totally sure, which was why I thought I'd look into it further.

Here's what I found from my saved builds:

```
TestRubyOptions#test_command_line_progname_nonascii

Bad
ruby 2.5.0dev (2017-04-02 trunk 58232) [x64-mingw32]
ruby 2.5.0dev (2017-04-30 trunk 58514) [x64-mingw32]
ruby 2.5.0dev (2017-05-27 trunk 58926) [x64-mingw32]

Passed
ruby 2.5.0dev (2017-06-01 trunk 58985) [x64-mingw32]
ruby 2.5.0dev (2017-06-08 trunk 59041) [x64-mingw32]
ruby 2.5.0dev (2017-06-14 trunk 59096) [x64-mingw32]
ruby 2.5.0dev (2017-06-30 trunk 59213) [x64-mingw32]
```

This was before I started rolling ruby-loco builds, and I did all the builds locally.  It wasn't in a git repo, so I don't know if the passing builds were due to my patching around the test method.  I suspect not.  I think @nobu was responsible for many (or all) of the encoding related fixes...

Thanks, Greg

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

* 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)"]>.
~~~




-- 
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>