FAQ
Hi folks,

I've narrowed down that the new version (5.7013) breaks tests in both
of these modules, but I'm not sure why (they work against the last
version of Catalyst 5.7012, so there has been some change thats
affected this)


Heres the test output, as you can see its looking for the wrong output.


Catalyst-Model-Adaptor-0.02

t/00-load........ok
t/live-test......1/47 [error] No default action defined

# Failed test 'get main page'
# at t/live-test.t line 17.
# 500
# Internal Server Error

# Failed test 'see if it has our text'
# at t/live-test.t line 18.
# got: "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Trans"...
# length: 3747
# doesn't match '(?i-xsm:it works)'
# Looks like you failed 2 tests of 47.
t/live-test...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/47 subtests

Test Summary Report
-------------------
t/live-test.t (Wstat: 512 Tests: 47 Failed: 2)
Failed test number(s): 2-3
Non-zero exit status: 2
Files=2, TestsQ, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.52 cusr
0.08 csys = 0.62 CPU)
Result: FAIL
Failed 1/2 test programs. 2/51 subtests failed.
make: *** [test_dynamic] Error 2




-------------



Catalyst-Plugin-Unicode-0.8







t/01use..............ok
t/02pod..............skipped: set TEST_POD to enable this test
t/03podcoverage......skipped: Test::Pod::Coverage 1.04 required
t/live-test..........1/12 [error] No default action defined

# Failed test 'get main page'
# at t/live-test.t line 22.
# 500
# Internal Server Error

# Failed test 'see if it has our text'
# at t/live-test.t line 23.
# got: "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Trans"...
# length: 3747
# doesn't match '(?i-xsm:it works)'
# Looks like you failed 2 tests of 12.
t/live-test.......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/12 subtests
Test Summary Report
-------------------
t/live-test.t (Wstat: 512 Tests: 12 Failed: 2)
Failed test number(s): 2-3
Non-zero exit status: 2
Files=4, Tests, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.44 cusr
0.08 csys = 0.54 CPU)
Result: FAIL
Failed 1/4 test programs. 2/13 subtests failed.
make: *** [test_dynamic] Error 2

Search Discussions

  • John Goulah at May 23, 2008 at 3:47 pm

    On Mon, May 19, 2008 at 5:35 PM, John Goulah wrote:
    Hi folks,

    I've narrowed down that the new version (5.7013) breaks tests in both
    of these modules, but I'm not sure why (they work against the last
    version of Catalyst 5.7012, so there has been some change thats
    affected this)


    Heres the test output, as you can see its looking for the wrong output.


    Catalyst-Model-Adaptor-0.02

    t/00-load........ok
    t/live-test......1/47 [error] No default action defined

    # Failed test 'get main page'
    # at t/live-test.t line 17.
    # 500
    # Internal Server Error

    # Failed test 'see if it has our text'
    # at t/live-test.t line 18.
    # got: "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Trans"...
    # length: 3747
    # doesn't match '(?i-xsm:it works)'
    # Looks like you failed 2 tests of 47.
    t/live-test...... Dubious, test returned 2 (wstat 512, 0x200)
    Failed 2/47 subtests

    Test Summary Report
    -------------------
    t/live-test.t (Wstat: 512 Tests: 47 Failed: 2)
    Failed test number(s): 2-3
    Non-zero exit status: 2
    Files=2, TestsQ, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.52 cusr
    0.08 csys = 0.62 CPU)
    Result: FAIL
    Failed 1/2 test programs. 2/51 subtests failed.
    make: *** [test_dynamic] Error 2




    -------------



    Catalyst-Plugin-Unicode-0.8







    t/01use..............ok
    t/02pod..............skipped: set TEST_POD to enable this test
    t/03podcoverage......skipped: Test::Pod::Coverage 1.04 required
    t/live-test..........1/12 [error] No default action defined

    # Failed test 'get main page'
    # at t/live-test.t line 22.
    # 500
    # Internal Server Error

    # Failed test 'see if it has our text'
    # at t/live-test.t line 23.
    # got: "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Trans"...
    # length: 3747
    # doesn't match '(?i-xsm:it works)'
    # Looks like you failed 2 tests of 12.
    t/live-test.......... Dubious, test returned 2 (wstat 512, 0x200)
    Failed 2/12 subtests
    Test Summary Report
    -------------------
    t/live-test.t (Wstat: 512 Tests: 12 Failed: 2)
    Failed test number(s): 2-3
    Non-zero exit status: 2
    Files=4, Tests, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.44 cusr
    0.08 csys = 0.54 CPU)
    Result: FAIL
    Failed 1/4 test programs. 2/13 subtests failed.
    make: *** [test_dynamic] Error 2



    mst thinks this is almost certainly an error screen, anyone care to comment?


    Thanks,
    John
  • Brian Cassidy at May 23, 2008 at 5:56 pm

    John Goulah wrote:
    On Mon, May 19, 2008 at 5:35 PM, John Goulah wrote:
    Hi folks,

    I've narrowed down that the new version (5.7013) breaks tests in both
    of these modules, but I'm not sure why (they work against the last
    version of Catalyst 5.7012, so there has been some change thats
    affected this)
    mst thinks this is almost certainly an error screen, anyone care to comment?
    This was a regression I created when trying to solve the Path(0) bug.
    Essentially "Path" by itself means Path('') which is defined but of 0
    length.

    Fixed in svn r7778 (+ test).

    -Brian

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedMay 19, '08 at 10:35p
activeMay 23, '08 at 5:56p
posts3
users2
websitecatalystframework.org
irc#catalyst

2 users in discussion

John Goulah: 2 posts Brian Cassidy: 1 post

People

Translate

site design / logo © 2022 Grokbase