Merge 'trunk' into 'current'
[dbsrgits/DBIx-Class-Schema-Loader.git] / t / 10sqlite_common.t
CommitLineData
a78e3fed 1use strict;
c2849787 2use lib qw(t/lib);
fbd83464 3use dbixcsl_common_tests;
a78e3fed 4
5eval { require DBD::SQLite };
6my $class = $@ ? 'SQLite2' : 'SQLite';
7
8{
fbd83464 9 my $tester = dbixcsl_common_tests->new(
a78e3fed 10 vendor => 'SQLite',
11 auto_inc_pk => 'INTEGER NOT NULL PRIMARY KEY',
12 dsn => "dbi:$class:dbname=./t/sqlite_test",
13 user => '',
14 password => '',
a78e3fed 15 );
16
17 $tester->run_tests();
18}
19
20END {
21 unlink './t/sqlite_test';
22}