From 0ac96d94ec3a8a2f3a3857810dbd9109c5cd3235 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 2 Jun 2010 13:24:22 -0500 Subject: [PATCH] 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 --- Makefile.am | 4 ++-- test/pacman/Makefile.am | 3 +-- test/util/Makefile.am | 9 +++++++++ test/{pacman => util}/vercmptest.sh | 0 4 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 test/util/Makefile.am rename test/{pacman => util}/vercmptest.sh (100%) 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 similarity index 100% rename from test/pacman/vercmptest.sh rename to test/util/vercmptest.sh