summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-08-20 15:16:15 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-08-20 15:16:15 +0200
commit34565d2f8f3108e4c3edd82b63bcf5844c5756d0 (patch)
tree686b58fb90f664947693ad469420e44cb328a9e4 /tests
parentd5d91e95f87ac67c172cc3612f25da502148272c (diff)
downloadlibrpm-tizen-34565d2f8f3108e4c3edd82b63bcf5844c5756d0.tar.gz
librpm-tizen-34565d2f8f3108e4c3edd82b63bcf5844c5756d0.tar.bz2
librpm-tizen-34565d2f8f3108e4c3edd82b63bcf5844c5756d0.zip
Activate the testsuite
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am16
1 files changed, 14 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 078629753..029a9d2ac 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -11,7 +11,7 @@ TESTSUITE = $(srcdir)/rpmtests
EXTRA_DIST += rpmtests.at $(TESTSUITE)
AUTOTEST = $(AUTOM4TE) --language=autotest
-$(TESTSUITE): $(srcdir)/rpmtests.at $(TESTSUITE_AT)
+$(TESTSUITE): $(srcdir)/rpmtests.at $(TESTSUITE_AT) package.m4
$(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
mv $@.tmp $@
@@ -65,4 +65,16 @@ testing@RPMCONFIGDIR@/rpmrc: rpmrc.in $(top_builddir)/config.status
(cd ${top_builddir} && \
./config.status --file=${subdir}/testing$(RPMCONFIGDIR)/rpmrc:${subdir}/rpmrc.in)
-check_DATA = defs testing@RPMCONFIGDIR@/rpmrc
+check_DATA = defs testing@RPMCONFIGDIR@/rpmrc atconfig atlocal $(TESTSUITE)
+
+check-local: $(check_DATA)
+ $(SHELL) '$(TESTSUITE)' $(TESTSUITEFLAGS)
+
+installcheck-local: $(check_DATA)
+ $(SHELL) '$(TESTSUITE)' AUTOTEST_PATH='$(bindir)' \
+ $(TESTSUITEFLAGS)
+
+clean-local:
+ test ! -f '$(TESTSUITE)' || $(SHELL) '$(TESTSUITE)' --clean
+ rm -f *.tmp
+ rm -rf testing