Subject: | mysql.t needs to be automated, pgsql.t and INSTALL are missing |
Users should not need to modify mysql.t by commenting out
print "1..0\n";
exit();
and setting
my %options = (
DataSource => "DBI:mysql:test",
User => "test",
Password => ""
);
in order to run this test.
This test should be skipped if
DBI, DBD::mysql or DBD::mysqlPP is not available.
This test should be skipped if $ENV{MYSQL_DB} is not set.
If DBD::mysqlPP or DBD::mysql was loaded successfully
($mysqlLoaded should be set accordingly)
and if $ENV{MYSQL_DB} is defined,
this test should be run with the following %options.
my %options = (
DataSource => "DBI:$mysqlLoaded:$ENV{MYSQL_DB}",
User => $ENV{MYSQL_USER},
Password => $ENV{MYSQL_PASS},
);
Also, you should add a t\pgsql.t that works the same way.
You should add an INSTALL file describing what ENV vars to set to
make these tests run.
Thanks, PodMaster