Author: chromatic
Date: Sun Apr 30 00:49:16 2006
New Revision: 12459

Added:
   trunk/compilers/past/t/harness   (contents, props changed)
   trunk/compilers/past/t/node.t
      - copied unchanged from r12458, /trunk/languages/punie/t/node.t
   trunk/compilers/past/t/past.t
      - copied unchanged from r12458, /trunk/languages/punie/t/past.t
   trunk/compilers/past/t/past_op.t
      - copied unchanged from r12458, /trunk/languages/punie/t/past_op.t
   trunk/compilers/past/t/past_val.t
      - copied unchanged from r12458, /trunk/languages/punie/t/past_val.t
Removed:
   trunk/languages/punie/t/node.t
   trunk/languages/punie/t/past.t
   trunk/languages/punie/t/past_op.t
   trunk/languages/punie/t/past_val.t
Modified:
   trunk/MANIFEST
   trunk/config/gen/makefiles/past.in

Log:
Moved PAST tests from Punie to PAST compiler directory.

Modified: trunk/MANIFEST
==============================================================================
--- trunk/MANIFEST      (original)
+++ trunk/MANIFEST      Sun Apr 30 00:49:16 2006
@@ -80,6 +80,11 @@
 compilers/past/PAST/Sub.pir                       [past]
 compilers/past/PAST/Val.pir                       [past]
 compilers/past/PAST/Var.pir                       [past]
+compilers/past/t/harness                          [past]
+compilers/past/t/node.t                           [past]
+compilers/past/t/past.t                           [past]
+compilers/past/t/past_op.t                        [past]
+compilers/past/t/past_val.t                       [past]
 compilers/pge/demo.pir                            []
 compilers/pge/P6Rule.grammar                      []
 compilers/pge/PGE.pir                             []
@@ -1158,11 +1163,7 @@
 languages/punie/t/base_term.t                     [punie]
 languages/punie/t/harness                         [punie]
 languages/punie/t/io_print.t                      [punie]
-languages/punie/t/node.t                          [punie]
 languages/punie/t/op_goto.t                       [punie]
-languages/punie/t/past.t                          [punie]
-languages/punie/t/past_op.t                       [punie]
-languages/punie/t/past_val.t                      [punie]
 languages/punie/t/post.t                          [punie]
 languages/punie/t/post_op.t                       [punie]
 languages/punie/t/post_val.t                      [punie]

Added: trunk/compilers/past/t/harness
==============================================================================
--- (empty file)
+++ trunk/compilers/past/t/harness      Sun Apr 30 00:49:16 2006
@@ -0,0 +1,3 @@
+#! perl -w
+
+use Parrot::Test::Harness language => 'past';

Modified: trunk/config/gen/makefiles/past.in
==============================================================================
--- trunk/config/gen/makefiles/past.in  (original)
+++ trunk/config/gen/makefiles/past.in  Sun Apr 30 00:49:16 2006
@@ -55,10 +55,10 @@
        $(PARROT) -o PAST/Val.pbc --output-pbc PAST/Val.pir
        $(PARROT) -o PAST/Var.pbc --output-pbc PAST/Var.pir
 
-# This is a listing of all targets, that are meant to be called by users
+# This is a listing of all targets that users can call
 help:
        @echo ""
-       @echo "Following targets are available for the user:"
+       @echo "The following targets are available for the user:"
        @echo ""
        @echo "  all:               PAST.pbc"
        @echo "                     This is the default."
@@ -76,14 +76,15 @@
        @echo "  help:              Print this help message."
        @echo ""
 
-# test: all
+test: all
+       $(PERL) -Ilib -I../../lib t/harness
 
-# testclean:
-#      $(RM_RF) "../../t/p6rules/*.pbc"
+testclean:
+       $(RM_RF) "../../t/p6rules/*.pbc"
 
-# testclean
-clean: 
+clean: testclean
        $(RM_RF) PAST.pbc $(PARROT_LIBRARY)/PAST.pbc
+       $(RM_RF) Node.pbc $(PARROT_LIBRARY)/Node.pbc
 
 realclean: clean
        $(RM_RF) Makefile

Reply via email to