Oracle: lowercase uniq constr. names
[dbsrgits/DBIx-Class-Schema-Loader.git] / t / 19informix_common.t
CommitLineData
bc5afe55 1use strict;
2use lib qw(t/lib);
3use dbixcsl_common_tests;
4
5# This test doesn't run over a shared memory connection, because of the single connection limit.
6
7my $dsn = $ENV{DBICTEST_INFORMIX_DSN} || '';
8my $user = $ENV{DBICTEST_INFORMIX_USER} || '';
9my $password = $ENV{DBICTEST_INFORMIX_PASS} || '';
10
11my $tester = dbixcsl_common_tests->new(
12 vendor => 'Informix',
13 auto_inc_pk => 'SERIAL PRIMARY KEY',
14 null => '',
15 default_function => 'CURRENT YEAR TO FRACTION(5)',
16 default_function_def => 'DATETIME YEAR TO FRACTION(5) DEFAULT CURRENT YEAR TO FRACTION(5)',
17 dsn => $dsn,
18 user => $user,
19 password => $password,
20);
21
22if( !$dsn ) {
23 $tester->skip_tests('You need to set the DBICTEST_INFORMIX_DSN, _USER, and _PASS environment variables');
24}
25else {
26 $tester->run_tests();
27}
28# vim:et sts=4 sw=4 tw=0: