[jifty-devel] make test in SVN version has plenty of test failures

Andreas J. Koenig andreas.koenig.7os6VVqR at franz.ak.mind.de
Thu May 17 11:23:00 EDT 2007


I was trying SVN rev 3242 of Jifty today.

When I understand the output correctly all failures are exactly the
same: somebody cannot find the testfile that is being run. Maybe some
chdir or some ripping apart of $0 or some such. The messages are all
like this one:

t/Continuations/t/01-raw-api..........................ok 1/47Can't open t/Continuations/t/01-raw-api.t: No such file or directory at /usr/local/perl-m-5.8.0 at 31162/lib/site_perl/5.8.8/WWW/Mechanize.pm line 2038.
# Looks like you planned 47 tests but only ran 2.
t/Continuations/t/01-raw-api..........................dubious                
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3-47
        Failed 45/47 tests, 4.26% okay



and the harness report at the end:

Failed Test                               Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/99-pod-coverage.t                          3   768   144    3  90 106 115
t/Continuations/t/01-raw-api.t             255 65280    47   90  3-47
t/Continuations/t/02-api.t                 255 65280    31   58  3-31
t/Continuations/t/04-before-blocks.t       255 65280     9   14  3-9
t/Mapper/t/01-raw-api.t                    255 65280    32   60  3-32
t/Mapper/t/02-api.t                        255 65280    11   18  3-11
t/TestApp-Plugin-PasswordAuth/t/01-tokeng  255 65280     6    6  4-6
t/TestApp-Plugin-PasswordAuth/t/12-i18n.t  255 65280     7   10  3-7
t/TestApp-Plugin-PasswordAuth/t/12-signup  255 65280     5    4  4-5
t/TestApp-Plugin-REST/t/02-basic-use.t     255 65280    70  132  5-70
t/TestApp/t/02-dispatch-show-rule-in-wron  255 65280     8   12  3-8
t/TestApp/t/02-dispatch.t                  255 65280    28   52  3-28
t/TestApp/t/03-static.t                    255 65280     6    8  3-6
t/TestApp/t/05-editactions-Cachable.t      255 65280     8    6  6-8
t/TestApp/t/05-editactions-Record.t        255 65280    10    8  7-10
t/TestApp/t/06-validation.t                255 65280    22   40  3-22
t/TestApp/t/09-redirect.t                  255 65280     6    8  3-6
t/TestApp/t/10-compress.t                  255 65280     5    8  2-5
t/TestApp/t/11-current_user.t              255 65280    19   12  14-19
t/TestApp/t/13-page-regions.t              255 65280    39   74  3-39
t/TestApp/t/14-template-paths.t            255 65280    18   32  3-18
t/TestApp/t/15-template-subclass.t         255 65280    16   28  3-16
t/TestApp/t/regex_meta_in_path_info.t      255 65280     2    2  2


I can make individual tests succeed by calling

    make test TEST_FILES=`pwd`/t/Continuations/t/01-raw-api.t

If the path to the test files is absolut, the problem goes away.


Am I the only one or am I not supposed to try SVN version?


-- 
andreas


More information about the jifty-devel mailing list