Mercurial > hg > orthanc
changeset 3567:8b8edb26d4c1
merge
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Fri, 08 Nov 2019 17:35:06 +0100 |
parents | ee508761d753 (current diff) 9a4db48ff5b1 (diff) |
children | 589238dcd782 |
files | |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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.