3 use dbixcsl_common_tests;
4 use dbixcsl_mssql_extra_tests;
6 my $dsn = $ENV{DBICTEST_MSSQL_ODBC_DSN} || '';
7 my $user = $ENV{DBICTEST_MSSQL_ODBC_USER} || '';
8 my $password = $ENV{DBICTEST_MSSQL_ODBC_PASS} || '';
10 my $tester = dbixcsl_common_tests->new(
12 auto_inc_pk => 'INTEGER IDENTITY NOT NULL PRIMARY KEY',
13 default_function => 'getdate()',
14 default_function_def => 'DATETIME DEFAULT getdate()',
17 password => $password,
18 extra => dbixcsl_mssql_extra_tests->extra,
21 if( !$dsn || !$user ) {
22 $tester->skip_tests('You need to set the DBICTEST_MSSQL_ODBC_DSN, _USER, and _PASS environment variables');