Skip to content

Commit b8230f3

Browse files
committed
test: skip dbstat test unless we're using our packaged libraries
because system libraries may not have this enabled
1 parent 07d3e9b commit b8230f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_database.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,8 @@ def test_sqlite_dbpage_vtab
729729
end
730730

731731
def test_dbstat_table_exists
732+
skip("dbstat not supported") unless SQLite3::SQLITE_PACKAGED_LIBRARIES
733+
732734
assert_nothing_raised { @db.execute("select * from dbstat") }
733735
end
734736
end

0 commit comments

Comments
 (0)