# Testing
#
# Copyright (c) 1996 T. J. Wilkinson & Associates, London, UK.
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# Written by Tim Wilkinson <tim@tjwassoc.demon.co.uk>

srcdir=		@srcdir@

all:

test:
		@echo "*** Running tests"
		@DESTDIR=`pwd` ; export DESTDIR ;\
		. ../ENVIRONMENT ;\
		cd $(srcdir)/regression &&\
		if ./TestScript ; then \
			echo "*** Passed" ; \
			exit 0 ;\
		else \
			echo "*** Failed" ; \
			exit 1 ;\
		fi

clean:
		rm -f *.class kaffe.core core

distclean:
		rm -f *.class Makefile kaffe.core core

install:
