Project

General

Profile

Actions

Bug #21283

closed

Some tests of TestMkmfConvertible is failing with VS2022 17.14.0 preview 4.0

Added by hsbt (Hiroshi SHIBATA) about 2 months ago. Updated 4 days ago.

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

Description

The following tests are broken with VS2022 17.14.0 preview 4.0.

  1) Error:
TestMkmfConvertible#test_typeof_typedef:
Test::Unit::ProxyError: invalid byte sequence in UTF-8
    V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:21:in 'block (2 levels) in TestMkmfConvertible#test_typeof_typedef'
    V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:16:in 'Array#each'
    V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:16:in 'block in TestMkmfConvertible#test_typeof_typedef'
    V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:15:in 'Array#each'
    V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:15:in 'TestMkmfConvertible#test_typeof_typedef'

  2) Error:
TestMkmfConvertible#test_typeof_builtin:
Test::Unit::ProxyError: invalid byte sequence in UTF-8
    V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:8:in 'block (2 levels) in TestMkmfConvertible#test_typeof_builtin'
    V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:7:in 'Array#each'
    V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:7:in 'block in TestMkmfConvertible#test_typeof_builtin'
    V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:6:in 'Array#each'
    V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:6:in 'TestMkmfConvertible#test_typeof_builtin'

They are working fine with VS2019.

Updated by nobu (Nobuyoshi Nakada) about 2 months ago

Probably due to warnings in CP932 encoding.

The warning issue is already reported at: https://developercommunity.visualstudio.com/t/warning-C5287:-operands-are-different-e/10877942

Updated by hsbt (Hiroshi SHIBATA) 22 days ago

  • Status changed from Open to Closed

This issue has not happened with VS2022 17.14.2. I'm closing this.

Updated by nobu (Nobuyoshi Nakada) 22 days ago

Maybe this needs to backport?

Updated by hsbt (Hiroshi SHIBATA) 22 days ago

  • Backport changed from 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN to 3.2: REQUIRED, 3.3: REQUIRED, 3.4: REQUIRED

Thanks @nobu (Nobuyoshi Nakada)

I will backport this fix to ruby_3_2 because this warning may cause gem installation issue.

Updated by nagachika (Tomoyuki Chikanaga) 4 days ago

  • Backport changed from 3.2: REQUIRED, 3.3: REQUIRED, 3.4: REQUIRED to 3.2: REQUIRED, 3.3: DONE, 3.4: REQUIRED
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0