summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile11
1 files 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(<t/*.t>)'
+
+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