Subject: | make test fails if user is not "root" |
Date: | Thu, 8 Oct 2009 12:03:41 +0200 |
To: | bug-pdl [...] rt.cpan.org |
From: | Michael Dondrup <Michael.Dondrup [...] bccs.uib.no> |
Hi,
I get a make test failure when trying to install PDL under ubuntu.
It looks as if this affects all case when make test is not run as user
"root" (on many linux systems this is now the default), because the
test checks
for the result of 'tilde expansion'.
Resolution: maybe remove this test?
Best
Michael
cpan[13]> force test PDL
[snip]
t/autoload.t ................ 1/3
# Failed test 'Check tilde expansion (/home/michi from 'echo ~')'
# at t/autoload.t line 43.
# got: '/home/michi'
# expected: '/root'
# Looks like you failed 1 test of 3.
[snip]
t/autoload.t (Wstat: 256 Tests: 3 Failed: 1)
Failed test: 3
Non-zero exit status: 1
Files=109, Tests=875, 44 wallclock secs ( 1.19 usr 2.18 sys + 18.04
cusr 16.06 csys = 37.47 CPU)
Result: FAIL
Failed 1/109 test programs. 1/875 subtests failed.
make: *** [test_dynamic] Error 255
CHM/PDL-2.4.4.tar.gz
make test -- NOT OK
//hint// to see the cpan-testers results for installing this module,
try:
reports CHM/PDL-2.4.4.tar.gz
Failed during this command:
CHM/PDL-2.4.4.tar.gz : make_test NO
michi@michi-laptop:~$ uname -a
Linux michi-laptop 2.6.28-15-generic #52-Ubuntu SMP Wed Sep 9 10:48:52
UTC 2009 x86_64 GNU/Linux