ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: usa@garbagecollect.jp
To: ruby-core@ruby-lang.org
Subject: [ruby-core:71533] [Ruby trunk - Bug #11702] errors in tests of logger on Windows
Date: Tue, 17 Nov 2015 23:50:13 +0000	[thread overview]
Message-ID: <redmine.journal-54912.20151117235012.a8b26409d49e808a@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-11702.20151117141827@ruby-lang.org

Issue #11702 has been updated by Usaku NAKAMURA.


Naotoshi Seo wrote:
> I created a patch > https://github.com/sonots/ruby/commit/e438ac0b59bf70946947ee80a0f3aa82ef10cf9c. Cloud you check this?

Seems OK.
Commit it, please.


> I tried to create a build environment for Windows, but unfortunately it failed as https://gist.github.com/sonots/49e1830d7db19aef505b, and I could not verify by myself.

Current trunk does NOT support VS2015.
Naruse-san tried before, and the results is here: https://github.com/nurse/ruby/tree/msvc14
But, IMO, you should try vs2013 or mingw, unless you want to be maintain vs2015 build.

----------------------------------------
Bug #11702: errors in tests of logger on Windows
https://bugs.ruby-lang.org/issues/11702#change-54912

* Author: Usaku NAKAMURA
* Status: Assigned
* Priority: Normal
* Assignee: Naotoshi Seo
* ruby -v: ruby 2.3.0dev (2015-11-17 trunk 52620) [x64-mswin64_100]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
Hi, sonots, welcome to ruby committers!

Your memorial first commit r52620 introduces two test errors on Windows.
Line 134 and 157 of test/logger/test_logdevice.rb is:

```
    File.unlink(@filename) if File.exist?(@filename) # remove once, then reopen
```

but Windows cannot remove opened file.
Fix them, please.
If I will discover that they won't have been fixed on tomorrow morning, I will revert the commit.



-- 
https://bugs.ruby-lang.org/

  parent reply	other threads:[~2015-11-17 23:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-11702.20151117141827@ruby-lang.org>
2015-11-17 14:18 ` [ruby-core:71520] [Ruby trunk - Bug #11702] [Open] errors in tests of logger usa
2015-11-17 14:19 ` [ruby-core:71521] [Ruby trunk - Bug #11702] [Assigned] errors in tests of logger on Windows usa
2015-11-17 14:23 ` [ruby-core:71522] [Ruby trunk - Bug #11702] " usa
2015-11-17 15:34 ` [ruby-core:71523] " sonots
2015-11-17 19:27 ` [ruby-core:71524] " sonots
2015-11-17 23:50 ` usa [this message]
2015-11-18  0:55 ` [ruby-core:71535] " sonots

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-54912.20151117235012.a8b26409d49e808a@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).