I am looking at the lines of code where my make test fails according to the error 
output (see platform info and output in previous thread included below).

Here are the lines that fail:

failing on general.t at line 53

ok(0, $tmp = $dbh->selectall_arrayref(q{
        select 1 * power(10,-130) "smallest?",
               9.9999999999 * power(10,125) "biggest?"
        from dual
}));


failing on long.t at line 175
 my $lob_locator = $dbh->selectrow_array("select lng from $table", { ora_auto_lob=>0 
});

failing on plsql.t at line 257
my $s1 = $dbh->selectall_arrayref($cur_query, undef, "V%");


I have noticed all the failures are for functions that are using arrays.  Does anyone 
have any ideas of what I might have done wrong to see this problem?

Thanks
Jem


-----Original Message-----
From: Mitchel, Jennifer (Jem) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 07, 2002 3:44 PM
To: '[EMAIL PROTECTED]'
Subject: HELP! make test errors DBD::Oracle 1.12


I am using a machine running Solaris 2.6.  
I have perl 5.00503 installed, and DBI installed.  
I have Oracle 8.0.5 installed and running (can connect via sqlplus).
I have my environment variables $ORACLE_HOME, $ORACLE_SID, and $TNS_ADMIN set.

make Makefile.PL and make do not give me any errors , but make test outputs this:

PERL_DL_NONLAZY=1 /web/perl/5.005_03/bin/perl -Iblib/arch -Iblib/lib 
-I/web/perl/5.005_03/lib/sun4-solaris -I/web/perl/5.005_03/lib -e 'use Test::Harness 
qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............ok
t/general...........Can't call method "prepare" without a package or object reference 
at t/general.t line 53.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 11-17
        Failed 7/17 tests, 58.82% okay
t/long..............# failed test 16 at line 175. (DBI::errstr undefined)
# failed test 51 at line 175. (DBI::errstr undefined)
# failed test 86 at line 175. (DBI::errstr undefined)
# failed test 121 at line 175. (DBI::errstr undefined)
Can't call method "prepare" on an undefined value at t/long.t line 85.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 16, 51, 86, 121, 141-143
        Failed 7/143 tests, 95.10% okay
t/ph_type...........ok
t/plsql.............Can't call method "prepare" on an undefined value at t/plsql.t 
line 257.
Issuing rollback() for database handle being DESTROY'd without explicit disconnect().
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 57-63
        Failed 7/63 tests, 88.89% okay
t/reauth............skipping test on this platform
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/general.t     255 65280    17    7  41.18%  11-17
t/long.t        255 65280   143    7   4.90%  16, 51, 86, 121, 141-143
t/plsql.t       255 65280    63    7  11.11%  57-63
1 test skipped.
Failed 3/6 test scripts, 50.00% okay. 21/281 subtests failed, 92.53% okay.
make: *** [test_dynamic] Error 29

Reply via email to