On Wed May 28 18:57:31 2008, [EMAIL PROTECTED] wrote:
> I will work on this.  Attached is *part* of the solution.
> 
>

And here is a more complete solution.  (In the course of its
development, I ran it and it identified 3 coding standards problems
which I then fixed.  So it must be doing something right :) )

kid51
Index: MANIFEST
===================================================================
--- MANIFEST    (.../trunk)     (revision 27904)
+++ MANIFEST    (.../branches/codetests)        (revision 27908)
@@ -1,7 +1,7 @@
 # ex: set ro:
 # $Id$
 #
-# generated by tools\dev\mk_manifest_and_skip.pl Wed May 28 18:19:10 2008 UT
+# generated by tools/dev/mk_manifest_and_skip.pl Thu May 29 02:04:25 2008 UT
 #
 # See tools/dev/install_files.pl for documentation on the
 # format of this file.
@@ -3398,6 +3398,7 @@
 t/run/README                                                []
 t/run/exit.t                                                []
 t/run/options.t                                             []
+t/run_code_tests                                            []
 t/src/README                                                []
 t/src/atomic.t                                              []
 t/src/basic.t                                               []
Index: t/run_code_tests
===================================================================
--- t/run_code_tests    (.../trunk)     (revision 0)
+++ t/run_code_tests    (.../branches/codetests)        (revision 27908)
@@ -0,0 +1,19 @@
+#!perl
+# Copyright (C) 2001-2008, The Perl Foundation.
+# $Id$
+use strict;
+use warnings;
+use lib qw( lib );
+
+use Test::Harness ();
+use Parrot::Harness::DefaultTests ();
+
+Test::Harness::runtests(@Parrot::Harness::DefaultTests::developing_tests);
+
+
+# Local Variables:
+#   mode: cperl
+#   cperl-indent-level: 4
+#   fill-column: 100
+# End:
+# vim: expandtab shiftwidth=4:

Property changes on: t/run_code_tests
___________________________________________________________________
Name: svn:eol-style
   + native
Name: svn:keywords
   + Author Date Id Revision

Index: config/gen/makefiles/root.in
===================================================================
--- config/gen/makefiles/root.in        (.../trunk)     (revision 27904)
+++ config/gen/makefiles/root.in        (.../branches/codetests)        
(revision 27908)
@@ -668,6 +668,7 @@
        @echo "  src_tests:         Run test in C-file."
        @echo "  run_tests:         Command line and various environments."
        @echo "  perl_tests:        Test the Perl modules in the distribution."
+       @echo "  codetest:          Run file metadata and coding standards 
tests."
        @echo "  codingstd_tests:   Test pdd07_codingstd."
        @echo "  testexec:          Testing the exec runcore."
        @echo "  benchmark_tests:   Run all benchmarks."
@@ -1513,6 +1514,9 @@
 perl_tests :
        $(PERL) t/harness $(PERL_TEST_FILES)
 
+codetest :
+       $(PERL) t/run_code_tests
+
 # Test pdd07_codingstd
 codingstd_tests :
        $(PERL) t/harness $(CODINGSTD_TEST_FILES)

Reply via email to