use_namespaces is now default, still needs the upgrade code
[dbsrgits/DBIx-Class-Schema-Loader.git] / t / backcompat / 0.04006 / 10sqlite_common.t
index 4dd6adc..c6d52f3 100644 (file)
@@ -2,7 +2,7 @@ use strict;
 use lib qw(t/backcompat/0.04006/lib);
 use dbixcsl_common_tests;
 use Test::More;
-plan skip_all => 'Backcompat tests disabled'
+plan skip_all => 'set SCHEMA_LOADER_TESTS_BACKCOMPAT to enable these tests'
     unless $ENV{SCHEMA_LOADER_TESTS_BACKCOMPAT};
 
 eval { require DBD::SQLite };
@@ -21,5 +21,5 @@ my $class = $@ ? 'SQLite2' : 'SQLite';
 }
 
 END {
-    unlink './t/sqlite_test';
+    unlink './t/sqlite_test' if $ENV{SCHEMA_LOADER_TESTS_BACKCOMPAT};
 }