Automated JVM testing
authorstefan <none@none>
Sat, 21 Dec 2002 12:06:01 +0000 (12:06 +0000)
committerstefan <none@none>
Sat, 21 Dec 2002 12:06:01 +0000 (12:06 +0000)
Makefile.am
tests/jvm98/Makefile.am

index 72a57d0598d6db2ca5fe2b40d7f08af789b0c080..39cf1bbd83b9c46ccb72c9f954f950affcf8a85d 100644 (file)
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
-# $Id: Makefile.am 180 2002-12-14 21:53:55Z stefan $
+# $Id: Makefile.am 192 2002-12-21 12:06:01Z stefan $
 
 MAINTAINERCLEANFILES = Makefile.in configure
 SUBDIRS = toolbox mm alpha jit comp nat threads mips tst doc narray jvmtst
@@ -141,6 +141,9 @@ jit.o: jit.c \
        narray/analyze.c \
        narray/tracing.c \
        narray/loop.h
+       
+checkjvm:
+       $(MAKE) -C jvmtst $@
 
 ## Local variables:
 ## mode: Makefile
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..b8f399cbb54b57483e8b3546665d82c01d96e05b 100644 (file)
@@ -0,0 +1,20 @@
+EXTRA_DIST = check.diff compress.diff compress.output db.diff db.output javac.diff javac.output mpegaudio.diff mpegaudio.output raytrace.diff raytrace.output
+
+checkjvm: compress db javac mpegaudio raytrace
+
+compress db javac mpegaudio raytrace: force
+       rm -rf $@
+       cp -r ../jvm98/spec/benchmarks/_*_$@ $@
+       patch -p0 < $@.diff
+       (cd $@; \
+        chmod 644 *; \
+        chmod 755 input; \
+        sh setup.sh || true; \
+        ../../cacao -ieee sun.tools.javac.Main -d . *.java  && \
+        ../../cacao -ieee Main > $@.output; \
+        sh postoutput.sh || true; \
+       )
+       diff --brief $@/$@.output $@.output
+       rm -rf $@
+       
+force: