Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Devel-StackTrace CPAN distribution.

Report information
The Basics
Id: 18461
Status: resolved
Priority: 0/
Queue: Devel-StackTrace

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

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: 1.13



Subject: 01-basic.t filename tests fail on Win32 (not portable)
Filename checks get the forward-slash/backslash wrong on Win32 Perl 5.8.8: t/01-basic....1..34 ok 1 - use Devel::StackTrace; ok 2 - Trace should have 4 frames ok 3 - Trace should have 4 frames ok 4 - First frame package should be main not ok 5 - First frame filename should be t/01-basic.t # Failed test 'First frame filename should be t/01-basic.t' # in t/01-basic.t at line 40. # got: 't\01-basic.t' # expected: 't/01-basic.t' ok 6 - First frame line should be 1012 ok 7 - First frame subroutine should be Devel::StackTrace::new ok 8 - First frame hasargs should be true ok 9 - First frame wantarray should be false not ok 10 - trace text # Failed test 'trace text' # in t/01-basic.t at line 59. # got: 'Trace begun at t\01-basic.t line 1012 # main::baz(1, 2) called at t\01-basic.t line 1007 # main::bar(1) called at t\01-basic.t line 1002 # main::foo at t\01-basic.t line 21 # ' # expected: 'Trace begun at t/01-basic.t line 1012 # main::baz(1, 2) called at t/01-basic.t line 1007 # main::bar(1) called at t/01-basic.t line 1002 # main::foo at t/01-basic.t line 21 # ' ok 11 - Trace should have 1 frame ok 12 - The package for this frame should be main ok 13 - Trace should have 1 frame ok 14 - The package for this frame should be main not ok 15 - trace text # Failed test 'trace text' # in t/01-basic.t at line 98. # got: 'Trace begun at t\01-basic.t line 1012 # main::baz at t\01-basic.t line 90 # ' # expected: 'Trace begun at t/01-basic.t line 1012 # main::baz at t/01-basic.t line 90 # ' ok 16 - Trace should have 4 frames ok 17 - Frame 2's subroutine should be 'main::bar' ok 18 - next_frame should return first frame after call to reset_pointer ok 19 - frames method should return four frames ok 20 - first frame's subroutine should be Devel::StackTrace::new ok 21 - last frame's subroutine should be main::foo ok 22 - Only one argument should have been passed in the call to trace() ok 23 - The object isa RefTest ok 24 - Only one argument should have been passed in the call to trace() ok 25 - Actual object should be replaced by string 'RefTest2=HASH' ok 26 - Only one argument should have been passed in the call to trace() ok 27 - Actual object should be replaced by string 'RefTest3=HASH' ok 28 - subroutine is (eval) ok 29 - no args given to eval block ok 30 - check regex as ignore_package arg # Looks like you failed 3 tests of 34. ok 31 - overloading is ignored by default ok 32 - overloading is ignored by default ok 33 - death in overload::Overloaded is ignored ok 34 # skip Test only runs on Linux dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 5, 10, 15 Failed 3/34 tests, 91.18% okay (less 1 skipped test: 30 okay, 88.24%) t/99-pod......1..0 # Skip Test::Pod 1.00 required for testing POD skipped all skipped: Test::Pod 1.00 required for testing POD Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/01-basic.t 3 768 34 3 8.82% 5 10 15 1 test and 1 subtest skipped. Failed 1/2 test scripts, 50.00% okay. 3/34 subtests failed, 91.18% okay. dmake: Error code 255, while making 'test_dynamic'
Subject: Re: [rt.cpan.org #18461] 01-basic.t filename tests fail on Win32 (not portable)
Date: Fri, 31 Mar 2006 20:03:54 -0600 (CST)
To: via RT <bug-Devel-StackTrace [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Thu, 30 Mar 2006, via RT wrote: Show quoted text
> Filename checks get the forward-slash/backslash wrong on Win32 Perl 5.8.8:
Can you try the version from SVN here: https://svn.urth.org/svn/Devel-StackTrace/trunk I checked in a possible fix but I don't have a Win32 machine on which to test it. Thanks, -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/
Subject: Re: [rt.cpan.org #18461] 01-basic.t filename tests fail on Win32 (not portable)
Date: Fri, 31 Mar 2006 23:42:57 -0500
To: bug-Devel-StackTrace [...] rt.cpan.org
From: David Golden <dagolden [...] cpan.org>
autarch@urth.org via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=18461 > > > On Thu, 30 Mar 2006, via RT wrote: >
>> Filename checks get the forward-slash/backslash wrong on Win32 Perl 5.8.8:
> > Can you try the version from SVN here: > https://svn.urth.org/svn/Devel-StackTrace/trunk > > I checked in a possible fix but I don't have a Win32 machine on which to > test it.
Sure. (SVK rocks.) I checked out the trunk, created a Makefile.PL (just to be the same as the earlier failure) and it tested just fine. Thanks for the quick fix. Regards, David