Improve POD test and make it author-only
[dbsrgits/DBIx-Class-Schema-Loader.git] / t / backcompat / 0.04006 / 10sqlite_common.t
CommitLineData
406a97c2 1use DBIx::Class::Schema::Loader::Optional::Dependencies
2 -skip_all_without => 'test_backcompat';
3
9a95164d 4use strict;
3c10a10f 5use lib qw(t/backcompat/0.04006/lib);
9a95164d 6use dbixcsl_common_tests;
c213fd3d 7use dbixcsl_test_dir qw/$tdir/;
8
1c94fb11 9use Test::More;
9a95164d 10
11eval { require DBD::SQLite };
12my $class = $@ ? 'SQLite2' : 'SQLite';
13
406a97c2 14dbixcsl_common_tests->new(
9a95164d 15 vendor => 'SQLite',
16 auto_inc_pk => 'INTEGER NOT NULL PRIMARY KEY',
c213fd3d 17 dsn => "dbi:$class:dbname=$tdir/sqlite_test",
9a95164d 18 user => '',
19 password => '',
406a97c2 20)->run_tests;
9a95164d 21
22END {
c213fd3d 23 unlink "$tdir/sqlite_test" if $ENV{SCHEMA_LOADER_TESTS_BACKCOMPAT};
9a95164d 24}