--mimepart_4d1a5907ca840_3346b41c20a57b
Content-Type: text/plain
Content-Transfer-Encoding: Quoted-printable
Content-Disposition: inline

Issue #4214 has been updated by Jon Forums.

File 0001-windows-macros-for-dl-n-fiddle.patch added

Attached patch gives the following results on Win7 Ultimate 32-bit with similar results on Arch Linux except on Arch the results were "123 tests, 229 assertions, 0 failures, 0 errors, 0 skips"

I didn't mod DL's extconf.rb as I've not looked over DL's code enough to feel comfortable doing so. C:\projects\rubyinstaller-git\sandbox\ruby19_build>make test-all TESTS="fiddle dl"
./miniruby.exe -I../../../../Users/Jon/Documents/RubyDev/ruby-git/lib -I.ext/common  ../../../../Users/Jon/Documents/RubyDev/ruby-git/tool/runruby.rb --extout=.ext
 -- "../../../../Users/Jon/Documents/RubyDev/ruby-git/test/runner.rb" fiddle dl
Run options:

# Running tests:

....................................................................S....SS..........S......................................

Finished tests in 0.126516s, 980.1132 tests/s, 1770.5270 assertions/s.

  1) Skipped:
test_sinf(DL::TestFunc) [C:/Users/Jon/Documents/RubyDev/ruby-git/test/dl/test_func.rb:29]:
libm may not have sinf()

  2) Skipped:
test_DEFAULT(DL::TestHandle) [C:/Users/Jon/Documents/RubyDev/ruby-git/test/dl/test_handle.rb:169]:
DL::Handle::DEFAULT is not supported

  3) Skipped:
test_NEXT(DL::TestHandle) [C:/Users/Jon/Documents/RubyDev/ruby-git/test/dl/test_handle.rb:136]:
DL::Handle::NEXT is not supported

  4) Skipped:
test_static_sym(DL::TestHandle) [C:/Users/Jon/Documents/RubyDev/ruby-git/test/dl/test_handle.rb:25]:
DL::Handle.sym is not supported

124 tests, 224 assertions, 0 failures, 0 errors, 4 skips
----------------------------------------
http://redmine.ruby-lang.org/issues/show/4214

----------------------------------------
http://redmine.ruby-lang.org

--mimepart_4d1a5907ca840_3346b41c20a57b
Content-Type: text/plain; name=0001-windows-macros-for-dl-n-fiddle.patch
Content-Transfer-Encoding: Base64
Content-Disposition: attachment; filename=0001-windows-macros-for-dl-n-fiddle.patch

ZGlmZi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