5.8.1 threads are wonky - tests no longer pass with recent DBD::Pg
[dbsrgits/DBIx-Class.git] / t / 73oracle_hq.t
index 5e4c0b2..11e42ef 100644 (file)
@@ -7,6 +7,13 @@ use Test::More;
 use lib qw(t/lib);
 use DBIC::SqlMakerTest;
 
+$ENV{NLS_SORT} = "BINARY";
+$ENV{NLS_COMP} = "BINARY";
+$ENV{NLS_LANG} = "AMERICAN";
+
+plan skip_all => 'Test needs ' . DBIx::Class::Optional::Dependencies->req_missing_for ('test_rdbms_oracle')
+  unless DBIx::Class::Optional::Dependencies->req_ok_for ('test_rdbms_oracle');
+
 my ($dsn,  $user,  $pass)  = @ENV{map { "DBICTEST_ORA_${_}" }  qw/DSN USER PASS/};
 
 plan skip_all => 'Set $ENV{DBICTEST_ORA_DSN}, _USER and _PASS to run this test.'