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:
parent
ccea1b5576
commit
844d82fad8
216 changed files with 9 additions and 9 deletions
10
Makefile.am
10
Makefile.am
|
@ -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
|
if WANT_DOC
|
||||||
SUBDIRS += doc
|
SUBDIRS += doc
|
||||||
endif
|
endif
|
||||||
|
@ -15,12 +15,12 @@ pkgdatadir = ${datadir}/${PACKAGE}
|
||||||
dist_pkgdata_DATA = PKGBUILD.proto PKGBUILD-split.proto proto.install ChangeLog.proto
|
dist_pkgdata_DATA = PKGBUILD.proto PKGBUILD-split.proto proto.install ChangeLog.proto
|
||||||
|
|
||||||
# run the pactest test suite and vercmp tests
|
# run the pactest test suite and vercmp tests
|
||||||
check-local: pactest src/pacman src/util
|
check-local: test/pacman src/pacman src/util
|
||||||
$(PYTHON) $(top_srcdir)/pactest/pactest.py --debug=1 \
|
$(PYTHON) $(top_srcdir)/test/pacman/pactest.py --debug=1 \
|
||||||
--test $(top_srcdir)/pactest/tests/*.py \
|
--test $(top_srcdir)/test/pacman/tests/*.py \
|
||||||
-p $(top_builddir)/src/pacman/pacman
|
-p $(top_builddir)/src/pacman/pacman
|
||||||
rm -rf $(top_builddir)/root
|
rm -rf $(top_builddir)/root
|
||||||
$(SH) $(top_srcdir)/pactest/vercmptest.sh \
|
$(SH) $(top_srcdir)/test/pacman/vercmptest.sh \
|
||||||
$(top_builddir)/src/util/vercmp
|
$(top_builddir)/src/util/vercmp
|
||||||
|
|
||||||
# create the pacman DB and cache directories upon install
|
# create the pacman DB and cache directories upon install
|
||||||
|
|
|
@ -18,11 +18,11 @@ rm -f scripts/{Makefile.in,Makefile}
|
||||||
rm -f etc/{Makefile.in,Makefile}
|
rm -f etc/{Makefile.in,Makefile}
|
||||||
rm -f etc/pacman.d/{Makefile.in,Makefile}
|
rm -f etc/pacman.d/{Makefile.in,Makefile}
|
||||||
rm -f etc/abs/{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 contrib/{Makefile.in,Makefile}
|
||||||
rm -f doc/{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/html/*.html
|
||||||
rm -f doc/man3/*.3
|
rm -f doc/man3/*.3
|
||||||
|
|
||||||
|
|
|
@ -354,8 +354,8 @@ scripts/Makefile
|
||||||
doc/Makefile
|
doc/Makefile
|
||||||
etc/Makefile
|
etc/Makefile
|
||||||
po/Makefile.in
|
po/Makefile.in
|
||||||
pactest/Makefile
|
test/pacman/Makefile
|
||||||
pactest/tests/Makefile
|
test/pacman/tests/Makefile
|
||||||
contrib/Makefile
|
contrib/Makefile
|
||||||
Makefile
|
Makefile
|
||||||
])
|
])
|
||||||
|
|
0
pactest/.gitignore → test/pacman/.gitignore
vendored
0
pactest/.gitignore → test/pacman/.gitignore
vendored
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue