# New Ticket Created by  "Paul Cochrane" 
# Please include the string:  [perl #40589]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40589 >


Hi,

This patch adds the C<c_code_coda.t>, C<cuddled_else.t> and C<tabs.t>
tests to the default list of tests run when one performs C<make test>
on the Parrot distro.  It also appends the perl emacs/vim coda to the
file as this is a perl script.

Comments welcome!

Paul


files affected:

t/harness
Index: t/harness
===================================================================
--- t/harness	(revision 15005)
+++ t/harness	(working copy)
@@ -159,8 +159,17 @@
                                               stm );
 # manifest.t was moved from t/perl to t/distro
 # codingstd.t was moved from t/perl to t/codingstd
-push @default_tests, 't/distro/manifest.t', 't/codingstd/cppcomments.t';
+push @default_tests, 't/distro/manifest.t';
 
+# collect the coding standard tests (that we want to run) together and
+# append them to the list of default tests
+my @coding_std_tests = map { "t/codingstd/$_" } qw( c_code_coda.t 
+                                                    cppcomments.t 
+                                                    cuddled_else.t 
+                                                    tabs.t 
+                                                    );
+push @default_tests, @coding_std_tests;
+
 my @tests = @ARGV ? map { glob( $_ ) } @ARGV : @default_tests;
 
 unless ($html) {
@@ -251,3 +260,11 @@
 Bernhard Schmalhofer merged F<imcc/t/harness> back into F<t/harness>.
 
 =cut
+
+
+# Local Variables:
+#   mode: cperl
+#   cperl-indent-level: 4
+#   fill-column: 100
+# End:
+# vim: expandtab shiftwidth=4:

Reply via email to