put extra mssql tests in the proper format
[dbsrgits/DBIx-Class-Schema-Loader.git] / t / 15sybase_common.t
CommitLineData
fe67d343 1use strict;
2use lib qw(t/lib);
3use dbixcsl_common_tests;
4
1765b8a0 5# you need maxConnect=256 in your DSN for this test to pass
6
fe67d343 7my $dsn = $ENV{DBICTEST_SYBASE_DSN} || '';
8my $user = $ENV{DBICTEST_SYBASE_USER} || '';
9my $password = $ENV{DBICTEST_SYBASE_PASS} || '';
10
11my $tester = dbixcsl_common_tests->new(
12 vendor => 'Sybase',
fe67d343 13 auto_inc_pk => 'INTEGER IDENTITY NOT NULL PRIMARY KEY',
14 dsn => $dsn,
15 user => $user,
16 password => $password,
17);
18
19if( !$dsn || !$user ) {
20 $tester->skip_tests('You need to set the DBICTEST_SYBASE_DSN, _USER, and _PASS environment variables');
21}
22else {
23 $tester->run_tests();
24}