Ok, it makes sense. I was sure it makes sense, but I could not see it. Thanks for the explanation. But then: What's the way to successful tests without manipulating the test code?

The DBD::Adabas-error comes during the tests t/20createdrop, t/30insertfetch, t/40bindparam, and then I stopped going though the others. The message is exactly the same in every test. If these are Jeff Zucker's private tests, there is something wrong with the package...

Best regards

Robert

Ron Savage schrieb:
[EMAIL PROTECTED] wrote:

Hi Robert

This is not much (missing an unnamed module?), but I detected in lip.pl
(located in the same test directory) the code which throws the error
message. There are the prerequisits tested (lines 40-49). But this list
includes DBD::CSV itself! How can this ever work? Besides this DBD::CSV is

How can this ever work, you ask.

Well, look. The '[d]make test' command contains 'blib\lib', which means the version of DBD::CSV shipped but not yet installed is looked for in 'blib\lib', and that makes sense since it is precisely that code which is being tested!

C:\perl-modules\DBD-CSV-0.22>dmake test
C:\strawberry-perl\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/00base...........1.15 at t/00base.t line 15.
t/00base...........ok
t/10dsnlist........ok
t/20createdrop.....ok
t/30insertfetch....ok
t/40bindparam......ok
t/40blobs..........ok
t/40listfields.....ok
t/40nulls..........ok
t/40numrows........ok
t/50chopblanks.....ok
t/50commit.........ok
t/ak-dbd...........ok
t/csv..............ok
t/dbdadmin.........ok
All tests successful.
Files=14, Tests=243, 9 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)

Also, for this I did /not/ define the env vars DBI_DSN, DBI_USER and DBI_PASS.

Can't locate DBI object method "list_tables" via package "DBD::Adabas::db"
at CSV.dbtest line 94.
So the DBD::CSV problem turns to an DBD::Adabas issue...
But why do I need another DB to test DBD::CSV? This seems to me not
necessary.

Hmmm. Odd. I think you have done something which triggered Jeff Zucker's private tests. Don't do that!


--

===================================
Robert Roggenbuck
Universitaetsbibliothek Osnabrueck
Alte Muenze 16
D-49074 Osnabrueck
Germany
Tel ++49/541/969-4344  Fax -4482
[EMAIL PROTECTED]

Postbox:
Postfach 4496
D-49034 Osnabrueck
===================================

Reply via email to