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'