From 7a41f4530c73bb3d01d7bfdc25c60735ad34e56d Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 24 Jun 2004 06:58:46 +0000 Subject: New test targets --- Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 02015ac8..9c5b4648 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ RPM=$(HOME)/rpm NAME = urpmi TAR = $(NAME).tar.bz2 -.PHONY: install clean rpm test changelog +.PHONY: install clean rpm test bigtest perltest changelog install: $(MAKE) -C po $@ @@ -37,7 +37,12 @@ install: autoirpm.update-all: %: %.cc $(CXX) $(CFLAGS) $< $(LIBRPM) -o $@ -test: +test: bigtest perltest + +perltest: + perl -I. -MTest::Harness -e 'runtests()' + +bigtest: cd test; ./do_alltests tar: clean @@ -60,4 +65,4 @@ changelog: cvs2cl -W 400 -I ChangeLog --accum -U ../../soft/common/username rm -f *.bak -log: changelog \ No newline at end of file +log: changelog -- cgit v1.2.1