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.
I have not been able to reproduce the failing test. Having done a
fresh 'svn update' of trunk, I then ran the test pre-configuration:
t/postconfigure/03-revision....1..7
ok 1 - use Cwd;
ok 2 - use File::Copy;
ok 3 - use File::Temp;
ok 4 # skip Either file DEVELOPING does not exist or configuration
has not completed (as evidenced by non-existence of
Parrot::Config::Generated
ok 5 # skip Either file DEVELOPING does not exist or configuration
has not completed (as evidenced by non-existence of
Parrot::Config::Generated
ok 6 # skip Either file DEVELOPING does not exist or configuration
has not completed (as evidenced by non-existence of
Parrot::Config::Generated
ok 7 - Completed all tests in t/postconfigure/03-revision.t
ok
3/7 skipped: various reasons
All tests successful, 3 subtests skipped.
Files=1, Tests=7, 2 wallclock secs ( 0.18 cusr + 0.12 csys = 0.30
CPU)
I then ran Configure.pl and re-tested before running 'make':
[parrot] 510 $ 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
ok 6 - current and config are identical
ok 7 - Completed all tests in t/postconfigure/03-revision.t
ok
All tests successful.
Files=1, Tests=7, 1 wallclock secs ( 0.17 cusr + 0.07 csys = 0.24
CPU)
These are the results I would have expected.
kid51