Ask a Question related to PERL Modules, Design and Development.
-
SinghTJunior #1
Error in Make Test
Hello,
In the process of executing "make test", an error message is showing.
Following is the command sequence, followed by a copy of the test
script. The perl module is working but the test is resulting in error.
This is a module I am currently working on for open source release. The
test file is very simple, and just checks for the correct instance of
the class.
Has anyone experienced this problem and knows about the solution? Thank
you in advance.
-Sincerely,
Singh T. Junior
The command sequence
perl Makefile.PL
make
make test
is shown here:
[tsingh@zurich XMLScripted]$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Net::Download::XMLScripted::XMLScripted
[tsingh@zurich XMLScripted]$ make
cp lib/Net/Download/XMLScripted/XMLScripted.pm
blib/lib/Net/Download/XMLScripted/XMLScripted.pm
AutoSplitting blib/lib/Net/Download/XMLScripted/XMLScripted.pm
(blib/lib/auto/Net/Download/XMLScripted/XMLScripted)
Manifying blib/man3/Net::Download::XMLScripted::XMLScripted.3pm
[tsingh@zurich XMLScripted]$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Net-Download-XMLScripted-XMLScripted....# No tests run!
t/Net-Download-XMLScripted-XMLScripted....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List
of Failed
-------------------------------------------------------------------------------
t/Net-Download-XMLScripted-XMLScr 255 65280 3 6 200.00% 1-3
Failed 1/1 test scripts, 0.00% okay. 3/3 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 2
************************************************** **********************************************
and here is the test script:
[tsingh@zurich XMLScripted]$ cat
t/Net-Download-XMLScripted-XMLScripted.t
# Before `make install' is performed this script should be runnable
with
# `make test'. After `make install' it should work as `perl
Net-Download-XMLScripted-XMLScripted.t'
#########################
# change 'tests => 1' to 'tests => last_test_to_print';
use Test::More tests => 3;
BEGIN { use_ok('Net::Download::XMLScripted::XMLScripted') };
#########################
# Insert your test code below, the Test::More module is use()ed here so
read
# its man page ( perldoc Test::More ) for help writing this test
script.
# Create XMLScripted Object
my $xmlScripted = Net::Download::XMLScripted::XMLScripted::->new();
ok( defined $xmlScripted, 'new() returned something' );
ok ( $xmlScripted->isa('Net::Download::XMLScripted::XMLScripted'), "
and it's the right class" );
SinghTJunior Guest
-
CPAN make test error with XML::Encoding
I am trying to install XML::Encoding on my Debian woody system -- kernel 2.2.20 and perl 5.6.1. I am getting an error in CPAN and I do not know... -
#39446 [NEW]: "make test" fails Error 138
From: hakkarainen at cs dot joensuu dot fi Operating system: Solaris 9 PHP version: 5.2.0 PHP Bug Type: Compile Failure Bug... -
Math::GMP Make Test error on Itanium running HP-UX 11.23
I am receiving the following error when I do a make test for Math::GMP 2.04: make test PERL_DL_NONLAZY=1 /opt/perl-5.8/bin/perl... -
'make test' question
Hi all, Is it possible to have the parent 'make test' process execute some code (more specifically setting environment variables) so that when... -
Math::Pari - Solaris 2.8 sparcv9 - make test error
Although I am able to make pari-2.1.5 with no problems, and Math-Pari-2.010500 seems to build just fine, make test fails. The general error is: ... -
Sisyphus #2
Re: Error in Make Test
"SinghTJunior" <singhtjunior@gmail.com> wrote in message
..
..You'll probably get more helpful output by running:>
> [tsingh@zurich XMLScripted]$ make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/Net-Download-XMLScripted-XMLScripted....# No tests run!
> t/Net-Download-XMLScripted-XMLScripted....dubious
> Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 1-3
> Failed 3/3 tests, 0.00% okay
> Failed Test Stat Wstat Total Fail Failed List
> of Failed
perl -Mblib t/Net-Download-XMLScripted-XMLScripted.t
(If you've already proceeded to install the module then there's no need for
the '-Mblib' switch.)
Cheers,
Rob
Sisyphus Guest



Reply With Quote

