use File::Path;
use make_dbictest_db;
require DBIx::Class::Schema::Loader;
-use Test::More;
+
plan skip_all => 'set SCHEMA_LOADER_TESTS_BACKCOMPAT to enable these tests'
unless $ENV{SCHEMA_LOADER_TESTS_BACKCOMPAT};
-
-$^O eq 'MSWin32'
- ? plan(skip_all => "ActiveState perl produces additional warnings, and this test uses unix paths")
- : plan(tests => 85);
+$^O eq 'MSWin32' && plan skip_all =>
+"Win32 perl produces additional warnings, and this test uses unix paths";
my $DUMP_PATH = './t/_dump';
},
);
+done_testing;
+
END { rmtree($DUMP_PATH, 1, 1); }