summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am4
-rw-r--r--test/pacman/Makefile.am3
-rw-r--r--test/util/Makefile.am9
-rwxr-xr-xtest/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