Move vercmp tests into util/ testing directory

Now that not everything is in 'pactest/', we can separate out the parts a
bit more and leave the pacman/ directory to be just pactest.

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2010-06-02 13:24:22 -05:00
parent 844d82fad8
commit 0ac96d94ec
4 changed files with 12 additions and 4 deletions

View File

@ -15,12 +15,12 @@ pkgdatadir = ${datadir}/${PACKAGE}
dist_pkgdata_DATA = PKGBUILD.proto PKGBUILD-split.proto proto.install ChangeLog.proto
# run the pactest test suite and vercmp tests
check-local: test/pacman src/pacman src/util
check-local: test/pacman test/util src/pacman src/util
$(PYTHON) $(top_srcdir)/test/pacman/pactest.py --debug=1 \
--test $(top_srcdir)/test/pacman/tests/*.py \
-p $(top_builddir)/src/pacman/pacman
rm -rf $(top_builddir)/root
$(SH) $(top_srcdir)/test/pacman/vercmptest.sh \
$(SH) $(top_srcdir)/test/util/vercmptest.sh \
$(top_builddir)/src/util/vercmp
# create the pacman DB and cache directories upon install

View File

@ -8,8 +8,7 @@ check_SCRIPTS = \
pmpkg.py \
pmrule.py \
pmtest.py \
util.py \
vercmptest.sh
util.py
noinst_SCRIPTS = $(check_SCRIPTS)

9
test/util/Makefile.am Normal file
View File

@ -0,0 +1,9 @@
check_SCRIPTS = \
vercmptest.sh
noinst_SCRIPTS = $(check_SCRIPTS)
EXTRA_DIST = \
$(check_SCRIPTS)
# vim:set ts=2 sw=2 noet: