[ruby-core:121722] [Ruby Bug#21283] Some tests of TestMkmfConvertible is failing with VS2022 17.14.0 preview 4.0
From:
"nobu (Nobuyoshi Nakada) via ruby-core" <ruby-core@...>
Date:
2025-04-24 04:40:40 UTC
List:
ruby-core #121722
Issue #21283 has been updated by nobu (Nobuyoshi Nakada).
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
----------------------------------------
Bug #21283: Some tests of TestMkmfConvertible is failing with VS2022 17.14.0 preview 4.0
https://bugs.ruby-lang.org/issues/21283#change-112775
* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
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.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/