diff options
author | Dan McGee <dan@archlinux.org> | 2010-06-02 20:24:22 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-06-02 20:24:22 +0200 |
commit | 0ac96d94ec3a8a2f3a3857810dbd9109c5cd3235 (patch) | |
tree | 78dab2f492ba21b3c185d1fd0a86d3d8cfdd0b12 | |
parent | 844d82fad811626b0b8e54db60ee4b3ea32a3cb9 (diff) | |
download | pacman-0ac96d94ec3a8a2f3a3857810dbd9109c5cd3235.tar.gz pacman-0ac96d94ec3a8a2f3a3857810dbd9109c5cd3235.tar.xz |
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>
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | test/pacman/Makefile.am | 3 | ||||
-rw-r--r-- | test/util/Makefile.am | 9 | ||||
-rwxr-xr-x | test/util/vercmptest.sh (renamed from test/pacman/vercmptest.sh) | 0 |
4 files changed, 12 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index eb80a5f1..bb7e3a72 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 diff --git a/test/pacman/Makefile.am b/test/pacman/Makefile.am index 64f9a22e..f96ce38a 100644 --- a/test/pacman/Makefile.am +++ b/test/pacman/Makefile.am @@ -8,8 +8,7 @@ check_SCRIPTS = \ pmpkg.py \ pmrule.py \ pmtest.py \ - util.py \ - vercmptest.sh + util.py noinst_SCRIPTS = $(check_SCRIPTS) diff --git a/test/util/Makefile.am b/test/util/Makefile.am new file mode 100644 index 00000000..6e59d8e9 --- /dev/null +++ b/test/util/Makefile.am @@ -0,0 +1,9 @@ +check_SCRIPTS = \ + vercmptest.sh + +noinst_SCRIPTS = $(check_SCRIPTS) + +EXTRA_DIST = \ + $(check_SCRIPTS) + +# vim:set ts=2 sw=2 noet: diff --git a/test/pacman/vercmptest.sh b/test/util/vercmptest.sh index fca06578..fca06578 100755 --- a/test/pacman/vercmptest.sh +++ b/test/util/vercmptest.sh |