2 use lib qw(t/backcompat/0.04006/lib);
3 use dbixcsl_common_tests;
5 plan skip_all => 'set SCHEMA_LOADER_TESTS_BACKCOMPAT to enable these tests'
6 unless $ENV{SCHEMA_LOADER_TESTS_BACKCOMPAT};
8 eval { require DBD::SQLite };
9 my $class = $@ ? 'SQLite2' : 'SQLite';
12 my $tester = dbixcsl_common_tests->new(
14 auto_inc_pk => 'INTEGER NOT NULL PRIMARY KEY',
15 dsn => "dbi:$class:dbname=./t/sqlite_test",
24 unlink './t/sqlite_test' if $ENV{SCHEMA_LOADER_TESTS_BACKCOMPAT};