[Catalyst-commits] r7841 - in trunk/Catalyst-View-Mason: . t xt xt/release

rafl at dev.catalyst.perl.org rafl at dev.catalyst.perl.org
Wed May 28 14:47:55 BST 2008


Author: rafl
Date: 2008-05-28 14:47:55 +0100 (Wed, 28 May 2008)
New Revision: 7841

Added:
   trunk/Catalyst-View-Mason/xt/
   trunk/Catalyst-View-Mason/xt/release/
   trunk/Catalyst-View-Mason/xt/release/kwalitee.t
   trunk/Catalyst-View-Mason/xt/release/notabs.t
   trunk/Catalyst-View-Mason/xt/release/pod.t
   trunk/Catalyst-View-Mason/xt/release/podcoverage.t
   trunk/Catalyst-View-Mason/xt/release/podspelling.t
   trunk/Catalyst-View-Mason/xt/release/strict.t
Removed:
   trunk/Catalyst-View-Mason/t/kwalitee.t
   trunk/Catalyst-View-Mason/t/notabs.t
   trunk/Catalyst-View-Mason/t/pod.t
   trunk/Catalyst-View-Mason/t/podcoverage.t
   trunk/Catalyst-View-Mason/t/podspelling.t
   trunk/Catalyst-View-Mason/t/strict.t
Modified:
   trunk/Catalyst-View-Mason/Makefile.PL
Log:
Move the release tests to xt and use M::I::ExtraTests to run them during make disttest only.


Modified: trunk/Catalyst-View-Mason/Makefile.PL
===================================================================
--- trunk/Catalyst-View-Mason/Makefile.PL	2008-05-28 13:47:44 UTC (rev 7840)
+++ trunk/Catalyst-View-Mason/Makefile.PL	2008-05-28 13:47:55 UTC (rev 7841)
@@ -10,11 +10,12 @@
 requires 'Scalar::Util' => 0;
 requires 'File::Spec'   => 0;
 
+extra_tests;
+
 WriteAll;
 
 package MY;
 
-
 sub postamble {
     my $make_test = q{PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), 'inc', '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES)};
 
@@ -25,8 +26,5 @@
 
 README: lib/Catalyst/View/Mason.pm
 \tpod2text \$< > \$@
-
-authortest: pure_all
-\tTEST_AUTHOR=1 $make_test
 EOM
 }

Deleted: trunk/Catalyst-View-Mason/t/kwalitee.t
===================================================================
--- trunk/Catalyst-View-Mason/t/kwalitee.t	2008-05-28 13:47:44 UTC (rev 7840)
+++ trunk/Catalyst-View-Mason/t/kwalitee.t	2008-05-28 13:47:55 UTC (rev 7841)
@@ -1,11 +0,0 @@
-#!perl
-
-use strict;
-use warnings;
-use Test::More;
-
-plan skip_all => 'set $ENV{TEST_AUTHOR} to enable this test' unless $ENV{TEST_AUTHOR};
-
-eval "use Test::Kwalitee";
-
-plan skip_all => 'Test::Kwalitee not installed; skipping' if $@;

Deleted: trunk/Catalyst-View-Mason/t/notabs.t
===================================================================
--- trunk/Catalyst-View-Mason/t/notabs.t	2008-05-28 13:47:44 UTC (rev 7840)
+++ trunk/Catalyst-View-Mason/t/notabs.t	2008-05-28 13:47:55 UTC (rev 7841)
@@ -1,12 +0,0 @@
-#!perl
-
-use strict;
-use warnings;
-use Test::More;
-
-plan skip_all => 'set $ENV{TEST_AUTHOR} to enable this test' unless $ENV{TEST_AUTHOR};
-
-eval "use Test::NoTabs";
-
-plan skip_all => 'Test::NoTabs not installed; skipping' if $@;
-all_perl_files_ok('lib');

Deleted: trunk/Catalyst-View-Mason/t/pod.t
===================================================================
--- trunk/Catalyst-View-Mason/t/pod.t	2008-05-28 13:47:44 UTC (rev 7840)
+++ trunk/Catalyst-View-Mason/t/pod.t	2008-05-28 13:47:55 UTC (rev 7841)
@@ -1,10 +0,0 @@
-#!perl
-
-use Test::More;
-
-plan skip_all => 'set $ENV{TEST_AUTHOR} to enable this test' unless $ENV{TEST_AUTHOR};
-
-eval "use Test::Pod 1.14";
-plan skip_all => 'Test::Pod 1.14 required' if $@;
-
-all_pod_files_ok();

Deleted: trunk/Catalyst-View-Mason/t/podcoverage.t
===================================================================
--- trunk/Catalyst-View-Mason/t/podcoverage.t	2008-05-28 13:47:44 UTC (rev 7840)
+++ trunk/Catalyst-View-Mason/t/podcoverage.t	2008-05-28 13:47:55 UTC (rev 7841)
@@ -1,10 +0,0 @@
-#!perl
-
-use Test::More;
-
-plan skip_all => 'set $ENV{TEST_AUTHOR} to enable this test' unless $ENV{TEST_AUTHOR};
-
-eval "use Test::Pod::Coverage 1.04";
-plan skip_all => 'Test::Pod::Coverage 1.04 required' if $@;
-
-all_pod_coverage_ok();

Deleted: trunk/Catalyst-View-Mason/t/podspelling.t
===================================================================
--- trunk/Catalyst-View-Mason/t/podspelling.t	2008-05-28 13:47:44 UTC (rev 7840)
+++ trunk/Catalyst-View-Mason/t/podspelling.t	2008-05-28 13:47:55 UTC (rev 7841)
@@ -1,22 +0,0 @@
-#!perl
-
-use strict;
-use warnings;
-use Test::More;
-
-plan skip_all => 'set $ENV{TEST_AUTHOR} to enable this test' unless $ENV{TEST_AUTHOR};
-
-eval 'use Test::Spelling';
-plan skip_all => 'Test::Spelling required' if $@;
-
-set_spell_cmd('aspell list');
-
-add_stopwords(<DATA>);
-
-all_pod_files_spelling_ok();
-
-__DATA__
-Kievsky
-Ragwitz
-Ramberg
-Riedel

Deleted: trunk/Catalyst-View-Mason/t/strict.t
===================================================================
--- trunk/Catalyst-View-Mason/t/strict.t	2008-05-28 13:47:44 UTC (rev 7840)
+++ trunk/Catalyst-View-Mason/t/strict.t	2008-05-28 13:47:55 UTC (rev 7841)
@@ -1,18 +0,0 @@
-#!perl
-
-use strict;
-use warnings;
-use Test::More;
-
-plan skip_all => 'set $ENV{TEST_AUTHOR} to enable this test' unless $ENV{TEST_AUTHOR};
-
-eval "use Test::Strict";
-
-plan skip_all => 'Test::Strict not installed; skipping' if $@;
-
-{
-    no warnings 'once';
-    $Test::Strict::TEST_WARNINGS = 1;
-}
-
-all_perl_files_ok('lib');

Added: trunk/Catalyst-View-Mason/xt/release/kwalitee.t
===================================================================
--- trunk/Catalyst-View-Mason/xt/release/kwalitee.t	                        (rev 0)
+++ trunk/Catalyst-View-Mason/xt/release/kwalitee.t	2008-05-28 13:47:55 UTC (rev 7841)
@@ -0,0 +1,8 @@
+#!perl
+
+use strict;
+use warnings;
+use Test::More;
+
+eval 'use Test::Kwalitee';
+plan skip_all => 'Test::Kwalitee not installed; skipping' if $@;

Added: trunk/Catalyst-View-Mason/xt/release/notabs.t
===================================================================
--- trunk/Catalyst-View-Mason/xt/release/notabs.t	                        (rev 0)
+++ trunk/Catalyst-View-Mason/xt/release/notabs.t	2008-05-28 13:47:55 UTC (rev 7841)
@@ -0,0 +1,10 @@
+#!perl
+
+use strict;
+use warnings;
+use Test::More;
+
+eval 'use Test::NoTabs';
+plan skip_all => 'Test::NoTabs not installed; skipping' if $@;
+
+all_perl_files_ok('lib');

Added: trunk/Catalyst-View-Mason/xt/release/pod.t
===================================================================
--- trunk/Catalyst-View-Mason/xt/release/pod.t	                        (rev 0)
+++ trunk/Catalyst-View-Mason/xt/release/pod.t	2008-05-28 13:47:55 UTC (rev 7841)
@@ -0,0 +1,10 @@
+#!perl
+
+use strict;
+use warnings;
+use Test::More;
+
+eval 'use Test::Pod 1.14';
+plan skip_all => 'Test::Pod 1.14 required' if $@;
+
+all_pod_files_ok();

Added: trunk/Catalyst-View-Mason/xt/release/podcoverage.t
===================================================================
--- trunk/Catalyst-View-Mason/xt/release/podcoverage.t	                        (rev 0)
+++ trunk/Catalyst-View-Mason/xt/release/podcoverage.t	2008-05-28 13:47:55 UTC (rev 7841)
@@ -0,0 +1,10 @@
+#!perl
+
+use strict;
+use warnings;
+use Test::More;
+
+eval 'use Test::Pod::Coverage 1.04';
+plan skip_all => 'Test::Pod::Coverage 1.04 required' if $@;
+
+all_pod_coverage_ok();

Copied: trunk/Catalyst-View-Mason/xt/release/podspelling.t (from rev 7840, trunk/Catalyst-View-Mason/t/podspelling.t)
===================================================================
--- trunk/Catalyst-View-Mason/xt/release/podspelling.t	                        (rev 0)
+++ trunk/Catalyst-View-Mason/xt/release/podspelling.t	2008-05-28 13:47:55 UTC (rev 7841)
@@ -0,0 +1,20 @@
+#!perl
+
+use strict;
+use warnings;
+use Test::More;
+
+eval 'use Test::Spelling';
+plan skip_all => 'Test::Spelling required' if $@;
+
+set_spell_cmd('aspell list');
+
+add_stopwords(<DATA>);
+
+all_pod_files_spelling_ok();
+
+__DATA__
+Kievsky
+Ragwitz
+Ramberg
+Riedel

Copied: trunk/Catalyst-View-Mason/xt/release/strict.t (from rev 7840, trunk/Catalyst-View-Mason/t/strict.t)
===================================================================
--- trunk/Catalyst-View-Mason/xt/release/strict.t	                        (rev 0)
+++ trunk/Catalyst-View-Mason/xt/release/strict.t	2008-05-28 13:47:55 UTC (rev 7841)
@@ -0,0 +1,15 @@
+#!perl
+
+use strict;
+use warnings;
+use Test::More;
+
+eval 'use Test::Strict';
+plan skip_all => 'Test::Strict not installed; skipping' if $@;
+
+{
+    no warnings 'once';
+    $Test::Strict::TEST_WARNINGS = 1;
+}
+
+all_perl_files_ok('lib');




More information about the Catalyst-commits mailing list