[fpc-pascal] ibconnection patch

Joao Morais post at joaomorais.com.br
Tue May 27 13:09:06 CEST 2008

Joost van der Sluis wrote:
> You could use the db-testsuite for this. In packages/fcl-db/tests there
> is a 'dbtestframework.pp' application. Compile it, copy Database.ini.txt
> to Database.ini and change this ini file so that it can connect to a
> test-database. (you have to set host, dbname, username and so on)
> Then you can run it. Compare the results with and without your changes.
> This program is also runned every night, you can find the results here:
> http://www.freepascal.org/tests.cgi
> For example:
> http://www.freepascal.org/tests.cgi?action=1&failedonly=1&run1id=22485
> And maybe you could add a test for your fix? That way it's also checked
> that it works for other connections, and we can't break it in the
> future.

I admit I completely forgot the tests. Give me some days in order to 
study and understand how the tests work, and so I send a contribution.

Joao Morais

More information about the fpc-pascal mailing list