Languages and Scripting
Showing results for 
Search instead for 
Do you mean 

Perl install - make test fails op/filetest

SOLVED
Go to Solution
Highlighted
Super Advisor

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?
1 ACCEPTED SOLUTION
Acclaimed Contributor Acclaimed Contributor

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...
4 REPLIES
Acclaimed Contributor Acclaimed Contributor

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

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

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

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