On 5/28/15, Jussi Pakkanen <jussi.pakkanen at jolla.com> wrote: > Hi > > I'm compiling SQLite on arm using both a Mer (which uses a build machine > based on Scratchbox) and the Jolla phone. On both of these I get the > following error when running "make test": > > 8 errors out of 99712 tests > Failures on these tests: func4-6.3.11 func4-6.3.12 func4-6.3.13 > func4-6.3.14 nan-4.15 nan-4.16 nan-4.17 nan-4.18
These are floating-point number tests. I suspect that your machine is giving a different result in the 14-th significant digit, or something like that. Run these: testfixture test/func4.test testfixture test/nan.test And post the output. > > I used sqlite-src-3081002.zip, with Gcc versions Linaro GCC 4.6-2013.05 > (in the build machine) and Linaro GCC 4.8-2014.01 (on the device). > > As most people probably won't have the hardware, you can also reproduce > this issue on any machine (Linux, OSX, or Windows, I have only tested > Linux) by using the SailfishOS SDK. You can get it here: > > https://sailfishos.org/develop/ > > You don't need to use the other bits of the SDK (Qt Creator etc). Just > start the MerSDK build engine with VirtualBox and ssh into it with these > instructions: > > https://sailfishos.org/develop/sdk-overview/develop-faq/ > > If there is any more info you need or tests you want run, just let me know. > > Thanks, > > > _______________________________________________ > sqlite-users mailing list > sqlite-users at mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp drh at sqlite.org