start of integration testing
[scpubgit/App-EzPz.git] / Makefile.PL
index 8860481..af94849 100644 (file)
@@ -3,6 +3,14 @@ use warnings FATAL => 'all';
 use 5.008001;
 use ExtUtils::MakeMaker;
 
+my $full_test = $ENV{TEST_APP_EZPZ} ||= do {
+  prompt("Run integration tests? (y/n)", "n") eq "y"
+};
+
+if ($full_test) {
+  mkdir('test-setup');
+}
+
 WriteMakefile(
   NAME => 'App-EzPz',
   VERSION => 0,