1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 07:48:50 -05:00

Move pacman test suite

Move the test suite to test/pacman in order to make a logical
location for a future makepkg test suite.

Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Allan McRae 2010-05-30 14:41:59 +10:00 committed by Dan McGee
parent ccea1b5576
commit 844d82fad8
216 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
SUBDIRS = lib/libalpm src/util src/pacman scripts etc po pactest contrib
SUBDIRS = lib/libalpm src/util src/pacman scripts etc po test/pacman contrib
if WANT_DOC
SUBDIRS += doc
endif
@ -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: pactest src/pacman src/util
$(PYTHON) $(top_srcdir)/pactest/pactest.py --debug=1 \
--test $(top_srcdir)/pactest/tests/*.py \
check-local: test/pacman 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)/pactest/vercmptest.sh \
$(SH) $(top_srcdir)/test/pacman/vercmptest.sh \
$(top_builddir)/src/util/vercmp
# create the pacman DB and cache directories upon install

View File

@ -18,11 +18,11 @@ rm -f scripts/{Makefile.in,Makefile}
rm -f etc/{Makefile.in,Makefile}
rm -f etc/pacman.d/{Makefile.in,Makefile}
rm -f etc/abs/{Makefile.in,Makefile}
rm -f pactest{,/tests}/{Makefile.in,Makefile}
rm -f test/pacman{,/tests}/{Makefile.in,Makefile}
rm -f contrib/{Makefile.in,Makefile}
rm -f doc/{Makefile.in,Makefile}
rm -f pactest/*.pyc
rm -f test/pacman/*.pyc
rm -f doc/html/*.html
rm -f doc/man3/*.3

View File

@ -354,8 +354,8 @@ scripts/Makefile
doc/Makefile
etc/Makefile
po/Makefile.in
pactest/Makefile
pactest/tests/Makefile
test/pacman/Makefile
test/pacman/tests/Makefile
contrib/Makefile
Makefile
])

Some files were not shown because too many files have changed in this diff Show More