[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Test-Harness prove.t failures



All of the failures here:

http://www.nntp.perl.org/group/perl.daily-build.reports/2008/09/msg59259
.html

look much like this in detail:

#     Structures begin differing at:
#          $got->[0][1]{timer} = '1'
#     $expected->[0][1]{timer} = Does not exist
# $VAR1 = {
#           'got' => [
#                      [
#                        '_runtests',
#                        {
#                          'verbosity' => 0,
#                          'timer' => 1
#                        },
#                        'TAP::Harness',
#                        'one',
#                        'two',
#                        'three'
#                      ]
#                    ],
#           'wanted' => [
#                         [
#                           '_runtests',
#                           {
#                             'verbosity' => 0
#                           },
#                           'TAP::Harness',
#                           'one',
#                           'two',
#                           'three'
#                         ]
#                       ]
#         };

The reason seems to be that I've got HARNESS_TIMER set to 1 in my
environment, because I prefer its more verbose output.

If I set HARNESS_TIMER to 0 (or get rid of it entirely) then the prove.t
test passes all tests.

Any idea how to make the test pass with HARNESS_TIMER set to 1?


Follow-Ups from:
Nicholas Clark <nick@ccl4.org>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]