Author: bernhard
Date: Wed Mar 22 11:22:29 2006
New Revision: 11986
Added:
trunk/t/codingstd/
trunk/t/codingstd/cppcomments.t
- copied unchanged from r11985, /trunk/t/perl/cppcomments.t
Removed:
trunk/t/perl/cppcomments.t
Modified:
trunk/MANIFEST
trunk/config/gen/makefiles/root.in
trunk/t/README
trunk/t/TESTS.STATUS.pod (contents, props changed)
trunk/t/harness
Log:
Move cppcomments.t from t/perl to new dir t/codingstd.
Modified: trunk/MANIFEST
==============================================================================
--- trunk/MANIFEST (original)
+++ trunk/MANIFEST Wed Mar 22 11:22:29 2006
@@ -2002,6 +2002,7 @@
t/compilers/tge/grammar.t []
t/compilers/tge/harness []
t/compilers/tge/parser.t []
+t/codingstd/cppcomments.t []
t/configure/base.t []
t/configure/configure.t []
t/configure/config_steps.t []
@@ -2090,7 +2091,6 @@
t/op/time.t []
t/op/trans.t []
t/op/types.t []
-t/perl/cppcomments.t []
t/perl/Parrot_Distribution.t []
t/perl/Parrot_Docs.t []
t/perl/Parrot_IO.t []
Modified: trunk/config/gen/makefiles/root.in
==============================================================================
--- trunk/config/gen/makefiles/root.in (original)
+++ trunk/config/gen/makefiles/root.in Wed Mar 22 11:22:29 2006
@@ -176,7 +176,6 @@
languages/miniperl/Makefile \
languages/ook/Makefile \
languages/parrot_compiler/Makefile \
- languages/perl6/Makefile \
languages/punie/Makefile \
languages/regex/Makefile \
languages/scheme/Makefile \
@@ -626,6 +625,7 @@
@echo " Valid cores are b, C, f, g, j, r, S."
@echo " src_tests: Run test in C-file."
@echo " perl_tests: Test the Perl modules in the distribution."
+ @echo " codingstd_tests: Test pdd07_codingstd."
@echo " testexex: Testing the exex runcore."
@echo " benchmark_tests: Run all benchmarks."
@echo " manitest: Check for new and missing files."
@@ -1271,31 +1271,33 @@
# to disable GC_DEBUG.
EXTRA_TEST_ARGS = --gc-debug --running-make-test
DISTRO_TEST_FILES = \
- t/distro/*.t
+ t/distro/*.t
BENCHMARK_TEST_FILES = \
- t/benchmark/*.t
+ t/benchmark/*.t
DOC_TEST_FILES = \
- t/doc/*.t
+ t/doc/*.t
PERL_TEST_FILES = \
- t/perl/*.t
+ t/perl/*.t
+CODINGSTD_TEST_FILES = \
+ t/codingstd/*.t
RUN_TEST_FILES = \
- t/run/*.t
+ t/run/*.t
RUNCORE_TEST_FILES = \
- t/compilers/imcc/*/*.t \
- t/op/*.t \
- t/pmc/*.t \
- t/native_pbc/*.t \
- t/dynpmc/*.t \
- t/compilers/pge/*.t \
- t/compilers/pge/p5regexp/*.t \
- t/compilers/pge/p6rules/*.t \
- t/compilers/tge/*.t \
- t/library/*.t \
- t/examples/*.t
+ t/compilers/imcc/*/*.t \
+ t/op/*.t \
+ t/pmc/*.t \
+ t/native_pbc/*.t \
+ t/dynpmc/*.t \
+ t/compilers/pge/*.t \
+ t/compilers/pge/p5regexp/*.t \
+ t/compilers/pge/p6rules/*.t \
+ t/compilers/tge/*.t \
+ t/library/*.t \
+ t/examples/*.t
SRC_TEST_FILES = \
- t/src/*.t
+ t/src/*.t
TOOLS_TEST_FILES = \
- t/tools/*.t
+ t/tools/*.t
# Common prep for all test targets.
# We propably need a complete build before running the tests.
@@ -1324,6 +1326,7 @@
testS \
src_tests \
perl_tests \
+ codingstd_tests \
benchmark_tests \
doc_tests \
distro_tests
@@ -1381,6 +1384,10 @@
perl_tests :
$(PERL) t/harness $(PERL_TEST_FILES)
+# Test pdd07_codingstd
+codingstd_tests :
+ $(PERL) t/harness $(CODINGSTD_TEST_FILES)
+
# obsolete
testbench :
@echo "Please use the target benchmark_tests."
Modified: trunk/t/README
==============================================================================
--- trunk/t/README (original)
+++ trunk/t/README Wed Mar 22 11:22:29 2006
@@ -11,6 +11,8 @@
configure: Perl modules of configuration subsystem
+codingstd: Conventions and Guidelines for Parrot Source Code
+
distro: Tests run before a distro is released
doc: Completeness and sanity of the documentation
Modified: trunk/t/TESTS.STATUS.pod
==============================================================================
--- trunk/t/TESTS.STATUS.pod (original)
+++ trunk/t/TESTS.STATUS.pod Wed Mar 22 11:22:29 2006
@@ -174,6 +174,17 @@
=back
+=head3 Coding standard
+
+=over 4
+
+=item Status
+
+B<Poor>. In the test suite there is only F<t/codingstd/cppcomments.t>.
+There is also an unmaintained script F<tools/dev/check_source_standards.pl>.
+
+=back
+
=head3 Examples and Benchmarks
=over 4
Modified: trunk/t/harness
==============================================================================
--- trunk/t/harness (original)
+++ trunk/t/harness Wed Mar 22 11:22:29 2006
@@ -150,7 +150,8 @@
perl
doc );
# manifest.t was moved from t/perl to t/distro
-push @default_tests, 't/distro/manifest.t';
+# codingstd.t was moved from t/perl to t/codingstd
+push @default_tests, 't/distro/manifest.t', 't/codingstd/cppcomments.t';
my @tests = @ARGV ? map { glob( $_ ) } @ARGV : @default_tests;