From a1510849f8e613d39e98124e45bd7721f6eb59c6 Mon Sep 17 00:00:00 2001 From: Jorrit Wronski Date: Tue, 13 Dec 2022 11:01:56 +0100 Subject: [PATCH] Do not compare the version number for external SQLite3 libraries --- tests/Database_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Database_test.cpp b/tests/Database_test.cpp index a02231b..49653a0 100644 --- a/tests/Database_test.cpp +++ b/tests/Database_test.cpp @@ -34,6 +34,7 @@ void assertion_failed(const char* apFile, const long apLine, const char* apFunc, } #endif +#ifdef SQLITECPP_INTERNAL_SQLITE TEST(SQLiteCpp, version) { EXPECT_STREQ(SQLITE_VERSION, SQLite::VERSION); @@ -41,6 +42,7 @@ TEST(SQLiteCpp, version) EXPECT_STREQ(SQLITE_VERSION, SQLite::getLibVersion()); EXPECT_EQ (SQLITE_VERSION_NUMBER, SQLite::getLibVersionNumber()); } +#endif TEST(Database, ctorExecCreateDropExist) {