From 36c370b904e387e6fc46b31950a7d4a3b0032e00 Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Thu, 10 Jun 2010 06:38:22 +0000 Subject: [PATCH] foreign keys tests requires SQLite 3.6.19 and newer --- t/39_foreign_keys.t | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/t/39_foreign_keys.t b/t/39_foreign_keys.t index 544b3a4..b7632fc 100644 --- a/t/39_foreign_keys.t +++ b/t/39_foreign_keys.t @@ -8,6 +8,15 @@ BEGIN { use t::lib::Test; use Test::More; + +BEGIN { + use DBD::SQLite; + unless ($DBD::SQLite::sqlite_version_number && $DBD::SQLite::sqlite_version_number >= 3006019) { + plan skip_all => "this test requires SQLite 3.6.19 and newer"; + exit; + } +} + use Test::NoWarnings; plan tests => 17;