Skip to content

Commit

Permalink
test: skip dbstat test unless we're using our packaged libraries
Browse files Browse the repository at this point in the history
because system libraries may not have this enabled
  • Loading branch information
flavorjones committed Nov 19, 2024
1 parent 07c476e commit 849253b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_database.rb
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,8 @@ def test_sqlite_dbpage_vtab
end

def test_dbstat_table_exists
skip("dbstat not supported") unless SQLite3::SQLITE_PACKAGED_LIBRARIES

assert_nothing_raised { @db.execute("select * from dbstat") }
end
end
Expand Down

0 comments on commit 849253b

Please sign in to comment.