Skip Menu |

This queue is for tickets about the Log-Dispatch-Config CPAN distribution.

Report information
The Basics
Id: 62438
Status: resolved
Priority: 0/
Queue: Log-Dispatch-Config

People
Owner: Nobody in particular
Requestors: dolmen [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.03
Fixed in: 1.04



Subject: [PATCH] 02_log.t fails on Win32
t/02_log.t fails on Win32 because the test is executed as "t/02_log.t" and that does not matches "File::Spec->catfile('t', '')" Proposed fix: -my $filename = File::Spec->catfile('t', '02_log.t'); +my $filename = __FILE__; Here is the full make test output: ------------------------------------------------------------------ Running make test C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/00_compile.t ....... ok t/01_configure.t ..... ok # Failed test 'debug' # at t/02_log.t line 32. # '[Mon Oct 25 18:00:30 2010] [debug] debug at t/02_log.t line 26[Mon Oct 25 18:00:30 2010] [alert] alert at t/02_log.t line 27' # doesn't match '(?-xism:debug at t\\02_log\.t)' # Failed test 'alert' # at t/02_log.t line 33. # '[Mon Oct 25 18:00:30 2010] [debug] debug at t/02_log.t line 26[Mon Oct 25 18:00:30 2010] [alert] alert at t/02_log.t line 27' # doesn't match '(?-xism:alert at t\\02_log\.t)' # Looks like you failed 2 tests of 4. t/02_log.t ........... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/4 subtests t/03_reload.t ........ skipped: These tests fail in Win32 for silly reasons t/04_nolog.t ......... ok t/05_compat.t ........ ok t/06_configurator.t .. ok t/07_hardwired.t ..... ok t/08_datetime.t ...... ok t/09_ini.t ........... ok t/10_caller.t ........ ok t/11_no_watch.t ...... ok t/12_inherit.t ....... ok t/13_do_reload.t ..... ok t/14_destroy.t ....... ok t/15_appconfig.t ..... ok Test Summary Report ------------------- t/02_log.t (Wstat: 512 Tests: 4 Failed: 2) Failed tests: 1-2 Non-zero exit status: 2 Files=16, Tests=46, 4 wallclock secs ( 0.06 usr + 0.11 sys = 0.17 CPU) Result: FAIL Failed 1/16 test programs. 2/46 subtests failed. ------------------------------------------------------------------ -- Olivier Mengué - http://search.cpan.org/~dolmen/ http://github.com/dolmen/
+1 to have this fixed. It is fatal to any Win32 install :-( I tried to find the source on github.com/miyagawa bit it doesn't seem to be there. If you create the repo I'll make the patch and send a pull request. -- regards, oliver.
Subject: Re: [rt.cpan.org #62438] [PATCH] 02_log.t fails on Win32
Date: Sun, 3 Apr 2011 14:29:23 -0700
To: bug-Log-Dispatch-Config [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
The report is at http://svn.bulknews.net/repos/public/ thanks On Apr 3, 2011 2:20 PM, "Oliver Gorwits via RT" < bug-Log-Dispatch-Config@rt.cpan.org> wrote: Show quoted text
> Queue: Log-Dispatch-Config > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=62438 > > > > +1 to have this fixed. It is fatal to any Win32 install :-( > > I tried to find the source on github.com/miyagawa bit it doesn't seem to > be there. If you create the repo I'll make the patch and send a pull > request. > > -- > regards, > oliver.