On Sep 8, 2008, at 9:46 PM, Jens Miltner wrote:

> Hi,
>
> I just merged our code base with the sqlite 3.6.2 distribution and
> decided to run the tests on Mac OS X (10.5.4). I had two issues:
>
> (1) make tests would not properly link the testfixture - it complains
> about missing Tcl symbols - I guess the libtool link phase does not
> know about the Tcl.framework (I also tried with 3.6.1 and get the same
> errors)
>
> (2) when I finally built testfixture using a custom Xcode project, the
> btree tests would fail, eventually causing the testfixture to crash:
>
>> ...
>> btree-5.1... Ok
>> btree-5.2... Ok
>> btree-5.3... Ok
>> btree-5.4... Ok
>> btree-5.5... Ok
>> btree-5.6... Ok
>> btree-6.1... Ok
>> btree-6.2... Ok
>> btree-6.2.1... Ok
>> btree-6.2.2...
>> Error: SQLITE_CORRUPT
>> btree-6.2.3...
>> Error: can't read "::c2": no such variable
>> btree-6.3...
>> Expected: [2]
>>      Got: [1]
>> btree-6.3.1... Ok
>> btree-6.4...
>> Error: can't read "::c2": no such variable
>> btree-6.5... Ok
>> btree-6.6...
>> Error: can't read "::c2": no such variable
>> btree-6.6.1... Ok
>> btree-6.7...
>> Error: SQLITE_CORRUPT
>> btree-6.7.1...
>> Expected: [1]
>>      Got: [0]
>> btree-6.8...
>> Expected: [2]
>>      Got: [3]
>> btree-6.8.1... Ok
>> btree-6.9...
>> Error: SQLITE_CORRUPT
>> btree-6.10...
>> Error: can't read "::c2": no such variable
>> btree-6.11...Segmentation fault
>
>
> Now, this might be of course an artefact of my custom build of the
> testfixture, but since I use almost identical build settings to build
> our actual sqlite library, this might hint at potential problems in
> our build of sqlite in our application...
>
> Did anybody successful build and run the sqlite tests on Mac OS X
> 10.5.x lately?

Those tests are from test file btree.test which was removed earlier this
year. Looks like you need to remove some files from your repository.

btree.test used to invoke the btree interface directly instead of using
the public interface to sqlite. The failures (and even the segfault) are
very likely just artifacts of an out of date test script.

Dan.

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to