Commit | Line | Data |
---|---|---|
a78e3fed | 1 | use strict; |
c2849787 | 2 | use lib qw(t/lib); |
fbd83464 | 3 | use dbixcsl_common_tests; |
a78e3fed | 4 | |
5 | eval { require DBD::SQLite }; | |
6 | my $class = $@ ? 'SQLite2' : 'SQLite'; | |
7 | ||
8 | { | |
fbd83464 | 9 | my $tester = dbixcsl_common_tests->new( |
a78e3fed | 10 | vendor => 'SQLite', |
78b7ccaa | 11 | auto_inc_pk => 'INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT', |
a78e3fed | 12 | dsn => "dbi:$class:dbname=./t/sqlite_test", |
13 | user => '', | |
14 | password => '', | |
a78e3fed | 15 | ); |
16 | ||
17 | $tester->run_tests(); | |
18 | } | |
19 | ||
20 | END { | |
21 | unlink './t/sqlite_test'; | |
22 | } |