Project

General

Profile

Actions

Backport #8752

closed

please backport r42439

Added by usa (Usaku NAKAMURA) over 10 years ago. Updated over 10 years ago.

Status:
Closed
[ruby-dev:<unknown>]

Description

WindowsのCIで異様に時間がかかるtestがあるのですが、
実は無駄な時間消費なのでそれを改善するための変更です。

Actions #1

Updated by naruse (Yui NARUSE) over 10 years ago

r42453 も一緒にお願いします。

Actions #2

Updated by nagachika (Tomoyuki Chikanaga) over 10 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r42492.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 42439,42453: [Backport #8752]

* test/coverage/test_coverage.rb (TestCoverage#test_big_code): use `1'
  instead of `p' to get rid of a side effect.
  Kernel#p without any argument seems to do nothing, but flushes stdout.
  and, if stdout is redirected to file, fsync() will be called on
  Windows.  so, when running test-all on Windows with redirection, such
  as CI environment, this test took a lot of time.
Actions

Also available in: Atom PDF

Like0
Like0Like0