ruby-changes:45008
From: usa <ko1@a...>
Date: Thu, 15 Dec 2016 02:53:24 +0900 (JST)
Subject: [ruby-changes:45008] usa:r57081 (trunk): Removed the obstacle to running test-all with VC14.
usa 2016-12-15 02:53:20 +0900 (Thu, 15 Dec 2016) New Revision: 57081 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57081 Log: Removed the obstacle to running test-all with VC14. * test/fiddle/test_import.rb (LIBC.fprintf): VC14's `fprintf` is very distinct name, then, just ignore this test. Modified files: trunk/test/fiddle/test_import.rb Index: test/fiddle/test_import.rb =================================================================== --- test/fiddle/test_import.rb (revision 57080) +++ test/fiddle/test_import.rb (revision 57081) @@ -19,7 +19,7 @@ module Fiddle https://github.com/ruby/ruby/blob/trunk/test/fiddle/test_import.rb#L19 extern "double atof(string)" extern "unsigned long strtoul(char*, char **, int)" extern "int qsort(void*, unsigned long, unsigned long, void*)" - extern "int fprintf(FILE*, char*)" + extern "int fprintf(FILE*, char*)" rescue nil extern "int gettimeofday(timeval*, timezone*)" rescue nil BoundQsortCallback = bind("void *bound_qsort_callback(void*, void*)"){|ptr1,ptr2| ptr1[0] <=> ptr2[0]} @@ -84,7 +84,7 @@ module Fiddle https://github.com/ruby/ruby/blob/trunk/test/fiddle/test_import.rb#L84 end def test_io() - if( RUBY_PLATFORM != BUILD_RUBY_PLATFORM ) + if( RUBY_PLATFORM != BUILD_RUBY_PLATFORM ) || !defined?(LIBC.fprintf) return end io_in,io_out = IO.pipe() -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/