diff --git a/test/Microsoft.Data.Sqlite.Tests/TestUtilities/SqliteTestFramework.cs b/test/Microsoft.Data.Sqlite.Tests/TestUtilities/SqliteTestFramework.cs index 7d3e91db935..bfb177032e1 100644 --- a/test/Microsoft.Data.Sqlite.Tests/TestUtilities/SqliteTestFramework.cs +++ b/test/Microsoft.Data.Sqlite.Tests/TestUtilities/SqliteTestFramework.cs @@ -97,6 +97,10 @@ protected override Task RunTestCollectionAsync( { return SkipAll("SQLite " + version + " isn't supported. Upgrade to 3.16.0 or higher"); } + if (sqlite3_compileoption_used("ENABLE_COLUMN_METADATA") == 0) + { + return SkipAll("SQLite compiled without -DSQLITE_ENABLE_COLUMN_METADATA"); + } return new XunitTestCollectionRunner( testCollection,