Re: [pysqlite] Pysqlite 2.5.5 Regression Test failed

Roger Binns <[email protected]> Tue, 19 May 2009 23:56:59 -0700
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gerhard H=E4ring wrote:
> it's just that it's not the correct SQLite library that's loaded on runti=
me

You may want to make your test harness print out the versions on
execution.  I do that for my test suite and it makes things very clear
as to what is going on.  For example output see
http://apsw.googlecode.com/svn/publish/build.html#testing

The SQLite lib version is obtained by calling sqlite3_libversion() and
so if linked dynamically will pickup the actual library being used.  The
headers version is the compile time define SQLITE_VERSION_NUMBER and
comes from whatever header file was used at compilation time.  I should
probably also add something about if the amalgamation was used.

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkoTqbYACgkQmOOfHg372QTqIwCdE6trD/1fHPDu4InDG/mhinrt
segAoJKptRR7uCdDCUYMrBY5nCeBNrQz
=3D/CgE
-----END PGP SIGNATURE-----