On May 8, 2007, at 9:09 PM, James Keenan wrote:


On May 8, 2007, at 9:02 PM, Will Coleda wrote:

I had similar failures here where I got '0' vs. some other number.

$ prove -v t/postconfigure/03-revision.t
t/postconfigure/03-revision....1..7
ok 1 - use Cwd;
ok 2 - use File::Copy;
ok 3 - use File::Temp;
ok 4 - current revision is all numeric
ok 5 - current revision is all numeric

#   Failed test 'current and config are identical'
#   at t/postconfigure/03-revision.t line 32.
not ok 6 - current and config are identical
#          got: '0'
#     expected: '18442'
ok 7 - Completed all tests in t/postconfigure/03-revision.t
# Looks like you failed 1 test of 7.
dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 6
        Failed 1/7 tests, 85.71% okay
Failed Test                   Stat Wstat Total Fail  List of Failed
--------------------------------------------------------------------- ----------
t/postconfigure/03-revision.t    1   256     7    1  6
Failed 1/1 test scripts. 1/7 subtests failed.
Files=1, Tests=7, 0 wallclock secs ( 0.06 cusr + 0.03 csys = 0.09 CPU)
Failed 1/1 test programs. 1/7 subtests failed.


Thanks for the output of 'prove -v'. Can you tell me at what point in the build cycle you ran this test: pre-Configure.pl? post- Configure.pl, pre-make? 'make test'?

Thank you very much.

That was after 'make'

Here's two more data points for you:

# realclean
$ prove t/postconfigure/03-revision.t
t/postconfigure/03-revision....ok
        3/7 skipped: various reasons
All tests successful, 3 subtests skipped.
Files=1, Tests=7, 0 wallclock secs ( 0.06 cusr + 0.03 csys = 0.09 CPU)
# configure
# - same as above, except that 18472 is expected instead.


--
Will "Coke" Coleda
[EMAIL PROTECTED]


Reply via email to