Author: chromatic
Date: Sun Apr 30 01:30:00 2006
New Revision: 12460
Added:
trunk/t/compilers/past/
trunk/t/compilers/past/node.t
- copied unchanged from r12459, /trunk/compilers/past/t/node.t
trunk/t/compilers/past/past.t
- copied unchanged from r12459, /trunk/compilers/past/t/past.t
trunk/t/compilers/past/past_op.t
- copied unchanged from r12459, /trunk/compilers/past/t/past_op.t
trunk/t/compilers/past/past_val.t
- copied unchanged from r12459, /trunk/compilers/past/t/past_val.t
Removed:
trunk/compilers/past/t/harness
trunk/compilers/past/t/node.t
trunk/compilers/past/t/past.t
trunk/compilers/past/t/past_op.t
trunk/compilers/past/t/past_val.t
Modified:
trunk/MANIFEST
trunk/config/gen/makefiles/past.in
trunk/config/gen/makefiles/root.in
trunk/t/compilers/tge/basic.t
trunk/t/harness
Log:
Build PAST and run its tests as part of the normal compilation.
Modified: trunk/MANIFEST
==============================================================================
--- trunk/MANIFEST (original)
+++ trunk/MANIFEST Sun Apr 30 01:30:00 2006
@@ -80,11 +80,6 @@
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 []
@@ -2064,6 +2059,10 @@
t/compilers/imcc/syn/pod.t []
t/compilers/imcc/syn/scope.t []
t/compilers/imcc/syn/tail.t []
+t/compilers/past/node.t [past]
+t/compilers/past/past.t [past]
+t/compilers/past/past_op.t [past]
+t/compilers/past/past_val.t [past]
t/compilers/pge/pge.t []
t/compilers/pge/pge_examples.t []
t/compilers/pge/pge_globs.t []
Modified: trunk/config/gen/makefiles/past.in
==============================================================================
--- trunk/config/gen/makefiles/past.in (original)
+++ trunk/config/gen/makefiles/past.in Sun Apr 30 01:30:00 2006
@@ -77,14 +77,15 @@
@echo ""
test: all
- $(PERL) -Ilib -I../../lib t/harness
+ cd $(TOOL_DIR); prove -r t/compilers/past
testclean:
- $(RM_RF) "../../t/p6rules/*.pbc"
+ $(RM_RF) "../../t/compilers/*.pir"
clean: testclean
- $(RM_RF) PAST.pbc $(PARROT_LIBRARY)/PAST.pbc
$(RM_RF) Node.pbc $(PARROT_LIBRARY)/Node.pbc
+ $(RM_RF) PAST.pbc $(PARROT_LIBRARY)/PAST.pbc
+ $(RM_RF) PAST.pbc $(PARROT_LIBRARY)/PAST/*.pbc
realclean: clean
$(RM_RF) Makefile
Modified: trunk/config/gen/makefiles/root.in
==============================================================================
--- trunk/config/gen/makefiles/root.in (original)
+++ trunk/config/gen/makefiles/root.in Sun Apr 30 01:30:00 2006
@@ -179,6 +179,7 @@
GEN_MAKEFILES = \
Makefile \
#CONDITIONED_LINE(has_perldoc): docs/Makefile \
+ compilers/past/Makefile \
compilers/pge/Makefile \
compilers/tge/Makefile \
editor/Makefile \
@@ -1257,6 +1258,7 @@
compilers : compilers.dummy
compilers.dummy : $(PARROT)
+ $(MAKE) compilers/past
$(MAKE) compilers/pge
$(MAKE) compilers/tge
@@ -1281,6 +1283,7 @@
###############################################################################
compilers-clean :
+ $(MAKE) compilers/past clean
$(MAKE) compilers/pge clean
$(MAKE) compilers/tge clean
@@ -1321,6 +1324,7 @@
t/native_pbc/*.t \
t/dynpmc/*.t \
t/dynoplibs/*.t \
+ t/compilers/past/*.t \
t/compilers/pge/*.t \
t/compilers/pge/p5regexp/*.t \
t/compilers/pge/p6rules/*.t \
Modified: trunk/t/compilers/tge/basic.t
==============================================================================
--- trunk/t/compilers/tge/basic.t (original)
+++ trunk/t/compilers/tge/basic.t Sun Apr 30 01:30:00 2006
@@ -79,7 +79,7 @@
pir_output_is(<<'CODE', <<'OUT', '"Malformed string" in r11890 under Linux
i386');
.sub test
- load_bytecode "languages/punie/lib/PAST.pir"
+ load_bytecode "PAST.pbc"
load_bytecode "TGE.pbc"
print "1\n"
.end
Modified: trunk/t/harness
==============================================================================
--- trunk/t/harness (original)
+++ trunk/t/harness Sun Apr 30 01:30:00 2006
@@ -143,6 +143,7 @@
native_pbc
dynpmc
dynoplibs
+ compilers/past
compilers/pge
compilers/pge/p5regexp
compilers/pge/p6rules