Project

General

Profile

Actions

Bug #15020

closed

[PATCH] Add 'guards' for mswin, mingw, update test_readline.rb

Added by MSP-Greg (Greg L) over 5 years ago. Updated over 5 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:88619]

Description

When the mingw build was added, test_readline.rb failed. One test fails on mingw, several tests error due to the windows issue with "can't close a file with an existing ref on it".

See GH PR #1941. Both the PR and a ruby-loco build using the same patch passed.

This adds mswin? & mingw? methods to MiniTest::Unit::Guard, fixup readline test for mingw

The patch is at https://patch-diff.githubusercontent.com/raw/ruby/ruby/pull/1941.patch or see attached.

Also reverts some of r64365 and all of r64369.

Thanks, Greg


Files

test-readline-test_readline.rb.patch (2.31 KB) test-readline-test_readline.rb.patch MSP-Greg (Greg L), 08/23/2018 05:26 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0