# HG changeset patch # User Alain Mazy # Date 1573230906 -3600 # Node ID 8b8edb26d4c1f1bd295e7e166709f980eca7e6f0 # Parent ee508761d753e9891e2b17a0c48cfe1a10e105c0# Parent 9a4db48ff5b1b7eb52c5f17bf921545a38f1efdb merge diff -r ee508761d753 -r 8b8edb26d4c1 UnitTestsSources/VersionsTests.cpp --- a/UnitTestsSources/VersionsTests.cpp Fri Nov 08 17:34:54 2019 +0100 +++ b/UnitTestsSources/VersionsTests.cpp Fri Nov 08 17:35:06 2019 +0100 @@ -88,8 +88,15 @@ #else // http://www.sqlite.org/capi3ref.html#sqlite3_libversion EXPECT_EQ(sqlite3_libversion_number(), SQLITE_VERSION_NUMBER); - EXPECT_STREQ(sqlite3_sourceid(), SQLITE_SOURCE_ID); EXPECT_STREQ(sqlite3_libversion(), SQLITE_VERSION); + + /** + * On Orthanc > 1.5.8, we comment out the following test, that is + * too strict for some GNU/Linux distributions to apply their own + * security fixes. Checking the main version macros is sufficient. + * https://bugzilla.suse.com/show_bug.cgi?id=1154550#c2 + **/ + // EXPECT_STREQ(sqlite3_sourceid(), SQLITE_SOURCE_ID); #endif // Ensure that the SQLite version is above 3.7.0.