]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/commitdiff
add test script for mysql master
authorCharles McGarvey <chazmcgarvey@brokenzipper.com>
Thu, 22 Mar 2012 17:23:24 +0000 (11:23 -0600)
committerCharles McGarvey <chazmcgarvey@brokenzipper.com>
Thu, 22 Mar 2012 17:23:24 +0000 (11:23 -0600)
t/mysql.t [new file with mode: 0644]

diff --git a/t/mysql.t b/t/mysql.t
new file mode 100644 (file)
index 0000000..3832fb3
--- /dev/null
+++ b/t/mysql.t
@@ -0,0 +1,16 @@
+use strict;
+use warnings;
+use lib 't/lib';
+use DBSchema;
+use RunTests;
+use Test::More;
+
+my ( $dsn, $user, $pass ) =
+    @ENV{ map {"DBICTEST_MYSQL_${_}"} qw/DSN USER PASS/ };
+
+plan skip_all => 'Set $ENV{DBICTEST_MYSQL_DSN}, _USER and _PASS to run this test'
+    . ' (note: creates and tables!)'
+    unless ( $dsn && $user );
+
+my $schema = DBSchema->get_test_schema( $dsn, $user, $pass, );
+run_tests($schema);
This page took 0.021768 seconds and 4 git commands to generate.