Project

General

Profile

This project is closed and read-only.

Actions

Backport #8752

closed

please backport r42439

Backport #8752: please backport r42439

Added by usa (Usaku NAKAMURA) about 13 years ago. Updated about 13 years ago.

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

Description

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

Updated by naruse (Yui NARUSE) about 13 years ago Actions #1

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

Updated by nagachika (Tomoyuki Chikanaga) about 13 years ago Actions #2

  • 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: PDF Atom