Subject: | make test fails when DBI_DSN is not DBD::SQLite |
Setting DBI_DSN environment variable to something other than SQLite
causes 'make test' to fail 12 test scripts. Unsetting DBI_DSN or
setting it to dbi:SQLite alleviates the problem.
Distribution: DBD-SQLite-1.11
Perl: This is perl, v5.8.3 built for i586-linux-thread-multi
OS: Linux devhost 2.6.5-7.202.7-smp #1 SMP Tue Nov 29 14:32:53 UTC
2005 i686 i686 i386 GNU/Linux
$ export DBI_DSN=dbi:Proxy:hostname=localhost
$ make test
make[1]: Entering directory `/usr/local/src/cpanplus/5.8.3/build/DBD-
SQLite-1.11'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-
e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00basic...............ok
t/01logon...............ok
t/02cr_table............ok
t/03insert..............ok
1/10 skipped: last_insert_id requires DBI v1.43
t/04select..............ok
t/05tran................ok
t/06error...............ok
t/08create_function.....ok
t/09create_aggregate....ok
t/10dsnlist.............dubious
Test returned status 255 (wstat 65280, 0xff00)
Scalar found where operator expected at (eval 155) line 1,
near "'int' $__val"
(Missing operator before $__val?)
DIED. FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
t/20createdrop..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-5
Failed 5/5 tests, 0.00% okay
t/30insertfetch.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-18
Failed 18/18 tests, 0.00% okay
t/40bindparam...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-28
Failed 28/28 tests, 0.00% okay
t/40blobs...............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-13
Failed 13/13 tests, 0.00% okay
t/40blobtext............ok
t/40listfields..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-13
Failed 13/13 tests, 0.00% okay
t/40nulls...............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
t/40numrows.............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-22
Failed 22/22 tests, 0.00% okay
t/50chopblanks..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-35
Failed 35/35 tests, 0.00% okay
t/50commit..............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-30
Failed 30/30 tests, 0.00% okay
t/60metadata............ok
t/90cppcomments.........ok
t/99cleanup.............ok
t/ak-dbd................dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-49
Failed 49/49 tests, 0.00% okay
t/dbdadmin..............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-----------------------------------------------------------------------
------------------------------------------------------------
t/10dsnlist.t 255 65280 3 6 200.00% 1-3
t/20createdrop.t 255 65280 5 10 200.00% 1-5
t/30insertfetch.t 255 65280 18 36 200.00% 1-18
t/40bindparam.t 255 65280 28 56 200.00% 1-28
t/40blobs.t 255 65280 13 26 200.00% 1-13
t/40listfields.t 255 65280 13 26 200.00% 1-13
t/40nulls.t 255 65280 11 22 200.00% 1-11
t/40numrows.t 255 65280 22 44 200.00% 1-22
t/50chopblanks.t 255 65280 35 70 200.00% 1-35
t/50commit.t 255 65280 30 60 200.00% 1-30
t/ak-dbd.t 255 65280 49 98 200.00% 1-49
t/dbdadmin.t 255 65280 4 8 200.00% 1-4
1 subtest skipped.
Failed 12/25 test scripts, 52.00% okay. 231/406 subtests failed,
43.10% okay.
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory `/usr/local/src/cpanplus/5.8.3/build/DBD-
SQLite-1.11'