João Henrique Freitas writes: > In your environment the libdbitest database exists? If not, the test > framework will not create it. You need to create it before run the > tests. > > Have you another way to solve it? >
No, the libdbitest database does not exist on my system. So your test obviously has to fail if this is a prerequisite. make check should not rely on the existence of a particular database except those which exist anyway in a default installation of a database engine. This is what the initial_dbname setting is good for in test_dbi.c. This database is used in all queries *before* the test database is created, and when the test database is being deleted. All MySQL installation have a database called mysql. Likewise, all PostgreSQL installation have a database called template1. The connection to these initial databases is dropped as soon as the test database has been created, and the test program then reconnects to the test database. See init_db() in test_dbi.c for further details. I don't know how DB2 and Oracle handle this. If you can't connect to a database and create another one, how do you bootstrap a fresh installation of these engines? Can you simply connect without specifying a database? Or do these engines rely on external programs to create and delete databases? regards, Markus -- Markus Hoenicka markus.hoeni...@cats.de (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Libdbi-drivers-devel mailing list Libdbi-drivers-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libdbi-drivers-devel