Re: Perl install - make test fails op/filetest (266 Views)
Reply
Super Advisor
Ratzie
Posts: 855
Registered: ‎01-10-2002
Message 1 of 5 (266 Views)
Accepted Solution

Perl install - make test fails op/filetest

Trying to install 5.8.9 from cpan:
Everything runs great until make test, if fails with only one issue:
Failed 1 test out of 1108, 99.91% okay.
op/filetest.t
make[2]: *** [_test_tty] Error 1
make[2]: Leaving directory `/home/lhradow1/perl-5.8.9'
make[1]: *** [_test] Error 2
make[1]: Leaving directory `/home/lhradow1/perl-5.8.9'
make: *** [test] Error 2

Additional info from perl harness
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
op/filetest.t 13 3328 10 10 6-10
83 tests and 8868 subtests skipped.
Failed 1/1194 test scripts. 5/133112 subtests failed.
Files=1194, Tests=133112, 1079 wallclock secs (668.39 cusr + 43.99 csys = 712.38 CPU)


Can I simply ignore this and continue with make install?
Acclaimed Contributor
James R. Ferguson
Posts: 21,184
Registered: ‎07-06-2000
Message 2 of 5 (266 Views)

Re: Perl install - make test fails op/filetest

HI;

It would seem your colleague has asked this in the better forum:

http://www.perlmonks.org/?node_id=738570

Regards!

...JRF...
Honored Contributor
H.Merijn Brand (procura
Posts: 6,189
Registered: ‎10-13-1997
Message 3 of 5 (266 Views)

Re: Perl install - make test fails op/filetest

So you did 'make install' before 'make test'?

What does 'make test_harness' report?

And what does

$ cd t
$ ./perl -I../lib harness op/filetest.t

Show you?

perl-current/t > ./perl -I..lib harness op/filetest.t
op/filetest....ok
All tests successful.
Files=1, Tests=28, 0 wallclock secs ( 0.05 usr 0.00 sys + 0.03 cusr 0.00 csys = 0.08 CPU)
Result: PASS

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Occasional Visitor
Reiner Dieden
Posts: 1
Registered: ‎08-31-2004
Message 4 of 5 (266 Views)

Re: Perl install - make test fails op/filetest

Same problem here: But what is Config_heavy.pl ?

# ./perl -I ../lib harness op/filetest.t
op/filetest....Can't locate Config_heavy.pl in @INC (@INC contains: ../lib) at ../lib/Config.pm line 66.
# Looks like you planned 10 tests but ran 5.
op/filetest....dubious
Test returned status 13 (wstat 3328, 0xd00)
DIED. FAILED tests 6-10
Failed 5/10 tests, 50.00% okay
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
op/filetest.t 13 3328 10 10 6-10
Failed 1/1 test scripts. 5/10 subtests failed.
Files=1, Tests=10, 0 wallclock secs ( 0.02 cusr + 0.00 csys = 0.02 CPU)
Failed 1/1 test programs. 5/10 subtests failed.
Honored Contributor
H.Merijn Brand (procura
Posts: 6,189
Registered: ‎10-13-1997
Message 5 of 5 (266 Views)

Re: Perl install - make test fails op/filetest

Config used to be quite big, and for performance reasons it was split into a lean and fast base tied magic readonly hash which would only load the heavy stuff when needed: config_heavy.pl.
This way the entries that were most often requested were immediately available without the speed loss, but the other values were available on demand.

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.