* test/ruby/test_io.rb (TestIO#test_write_32bit_boundary): skip if

writing a file is slow.
  [ruby-core:55541] [Bug #8519]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shirosaki 2013-06-26 12:21:21 +00:00
Родитель 70658c387d
Коммит 26646186af
2 изменённых файлов: 26 добавлений и 16 удалений

Просмотреть файл

@ -1,3 +1,9 @@
Wed Jun 26 21:01:22 2013 Hiroshi Shirosaki <h.shirosaki@gmail.com>
* test/ruby/test_io.rb (TestIO#test_write_32bit_boundary): skip if
writing a file is slow.
[ruby-core:55541] [Bug #8519]
Wed Jun 26 16:42:11 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> Wed Jun 26 16:42:11 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/mkmf.rb: should use expanded values for header directories * lib/mkmf.rb: should use expanded values for header directories

Просмотреть файл

@ -2661,6 +2661,7 @@ End
ret ret
end end
begin
assert_separately(["-", bug8431, t.path], <<-"end;", timeout: 30) assert_separately(["-", bug8431, t.path], <<-"end;", timeout: 30)
msg = ARGV.shift msg = ARGV.shift
f = open(ARGV[0], "wb") f = open(ARGV[0], "wb")
@ -2677,6 +2678,9 @@ End
assert_equal(0x1_0000_0000, pos, msg) assert_equal(0x1_0000_0000, pos, msg)
end end
end; end;
rescue Timeout::Error
skip "Timeout because of slow file writing"
end
} }
end if /mswin|mingw/ =~ RUBY_PLATFORM end if /mswin|mingw/ =~ RUBY_PLATFORM
end end