Skip to content

Commit

Permalink
guard test that will fail with system sqlite on macos, ignore cache
Browse files Browse the repository at this point in the history
  • Loading branch information
paleolimbot committed Apr 5, 2024
1 parent 8b9dae0 commit 4e282d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ MANIFEST
compile_commands.json
build.ninja
.clangd
.cache

# Generated Visual Studio files
*.vcxproj
Expand Down
4 changes: 4 additions & 0 deletions c/driver/sqlite/sqlite_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@ class SqliteConnectionTest : public ::testing::Test,
ADBCV_TEST_CONNECTION(SqliteConnectionTest)

TEST_F(SqliteConnectionTest, ExtensionLoading) {
#if defined(ADBC_SQLITE_WITH_NO_LOAD_EXTENSION)
GTEST_SKIP() << "Linking to SQLite without extension loading";
#endif

ASSERT_THAT(AdbcConnectionNew(&connection, &error),
adbc_validation::IsOkStatus(&error));

Expand Down

0 comments on commit 4e282d0

Please sign in to comment.