
The files from the scripts/ directory are used to create the databases needed
by the testsuite. To build the test databases do the following in terminal
(suppose you are in the GDL/tests directory):

Sybase:

    $> isql <scripts/test-sybdb.isql
    $>

Postgres95:

    $> createdb TEST
    $> psql TEST <scripts/postgres95-test.psql
    $>


After you finish the tests, you can clean the databases using the commands:

Sybase:

    $> isql
    > drop database TEST
    > go
    > ^D
    $>

Postgres95:

    $> destroydb TEST
    $>


Compiled test
=============

To run the compiled test, first make the `compiled' binary:

    $> make compiled

This will create the `compiled' binary in the obj/ directory. This program
reads in a model file that has as a user dictionary the description of a test.
For example, a test for the Postgres95 database is available and can be run
with the following command:

    $> obj/compiled models/postgres95-test1.eomodel all

