Burak Gürsoy wrote:
*) SKIP the tests?
...unless you can make that dependencies optional.
Or, make memcached optional and skip the tests related to that and
abstract the DB interface to be able to use a more common and
easy to install module (maybe SQLite) and make postgres an optional and advanced
dep. and run the tests with the "lite" interface and use postgres only if it is
available.
That is currently not an option. Memcached and PostgreSQL are integral parts of
some modules.
While i plan on using a substiture MemcachedSimulation module for a majority of
the tests, some tests have to be performed against a real memcached (also,
because there is a problem with at least one version of ActiveState Perl).
PostgreSQL is also integral to many modules. I can't easely substitute it for
another database, because some of the statements are optimized towards pg.
Also, there is the matter that - to my understanding - parallel access to
SQLite with multiple programs may corrupt the database. This is not yet a big
deal, but future versions of Maplat will include more modules - some of them
highly optimized to PG to have better performance.
LG
Rene
--
#!/usr/bin/perl # 99 bottles Wikipedia Edition
$c=99;do{print "$c articles of wikipedia on the net,\n$c articles of wiki".
"pedia,\ndiscuss one at length, delete it at will,\n".--$c." articles of ".
"wikipedia on the net.\n\n";}while($c);print"So long & thx for the fish\n";