Bug #13542
closedMinGW trunk Builds - Summary of Issues
Description
It appears that 64 bit MinGW trunk build results in test-all
are stable . The only inconsistent item is the number of reported assertions. See Ruby MinGW 'test-all' Results for details. The build system I use is available at MSP-Greg / ruby-loco.
Build & test-all Info / Issues:
Two patches are applied for building - configure.in and include/ruby/defines.h.
Four items related to test-all
, which are also detailed on the web page.
-
test-all
SEGV -TestEnumerable#test_callcc
- This causes a 'logged' segv, which is attached and listed here. Note that the only difference between this assert and the next one is the array length,[o, o].sort_by {|x| x }
vs[o, o, o].sort_by {|x| x }
. Checking blame, it was added for code coverage. See patch. I believe a 32 bit build requires a more extensive patch. -
test-all
'silent' stop -TestSocket#test_closed_read
, see patch. -
Failures / Errors - 8 failures and 1 error are consistently generated. Listed on web page.
-
Readline & temp files - there may be issues with using GNU Readline on Windows, but it passes all tests except
TestReadline#test_input_metachar
. A patch is used for temp files, otherwise failures occur on Windows.
I realize that MinGW is considered a Tier 2 platform, and that these issues may have existed for quite some time.
Given that most mentions of Ruby and Windows also mention MinGW builds, I hope that, in time, these issues can be addressed. Hopefully, consideration can be given to moving MinGW to a Tier 1 platform, along with appveyor testing of it, instead of mswin64.
Thanks for everyone's help. If there is anything else I can do, please let me know.
Since I've only identified issues, but not their causes, please close the following issues:
13500 MinGW TestArity#test_proc_err_mess stops testing - not an issue in current builds
13496 Patches for MinGW builds - addressed here
13485 MinGW TestEnumerable#test_callcc SEGV info - addressed here
13441 building - GIT variable, ruby, rubygems tests - not an issue in current builds, commits in RubyGems
13390 MinGW build test-all SEGV, issue in test framework or err - not an issue in current builds
13298 mingw SEGV TestEnumerable#test_callcc (Assigned) - Continuation
is sort of deprecated, addressed here
13269 test/readline/test_readline.rb and mingw - addressed here, more an issue with Windows and temp files
12595 Documentation - needn't be on the list...
Files