Commit | Line | Data |
e7262300 |
1 | use strict; |
2 | use lib qw(t/lib); |
3 | use dbixcsl_common_tests; |
4 | |
5 | my $dsn = $ENV{DBICTEST_ORA_DSN} || ''; |
6 | my $user = $ENV{DBICTEST_ORA_USER} || ''; |
7 | my $password = $ENV{DBICTEST_ORA_PASS} || ''; |
8 | |
9 | my $tester = dbixcsl_common_tests->new( |
10 | vendor => 'Oracle', |
11 | auto_inc_pk => 'SERIAL NOT NULL PRIMARY KEY', |
12 | dsn => $dsn, |
13 | user => $user, |
14 | password => $password, |
15 | ); |
16 | |
17 | if( !$dsn || !$user ) { |
18 | $tester->skip_tests('You need to set the DBICTEST_ORA_DSN, _USER, and _PASS environment variables'); |
19 | } |
20 | else { |
21 | $tester->run_tests(); |
22 | } |