summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-06-24 06:58:46 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-06-24 06:58:46 +0000
commit7a41f4530c73bb3d01d7bfdc25c60735ad34e56d (patch)
tree4e1f365ed2a49ec5a68492266a52311f0435a9e9
parente3dbb6fabf87a132b95e1210be30c5454099ac31 (diff)
downloadurpmi-7a41f4530c73bb3d01d7bfdc25c60735ad34e56d.tar
urpmi-7a41f4530c73bb3d01d7bfdc25c60735ad34e56d.tar.gz
urpmi-7a41f4530c73bb3d01d7bfdc25c60735ad34e56d.tar.bz2
urpmi-7a41f4530c73bb3d01d7bfdc25c60735ad34e56d.tar.xz
urpmi-7a41f4530c73bb3d01d7bfdc25c60735ad34e56d.zip
New test targets
-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