From 9779ee47871217df935261f6931eeb285198da51 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Wed, 8 Oct 2014 22:33:32 +0100 Subject: Run a subset of the upstream regression test suite at package build time, and the rest of it under autopkgtest. --- debian/rules | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index bf4115fc4..570e6519f 100755 --- a/debian/rules +++ b/debian/rules @@ -145,13 +145,22 @@ override_dh_auto_build: override_dh_auto_test: ifeq ($(RUN_TESTS),yes) - $(MAKE) -C debian/tests + $(MAKE) -C build-deb regress-prep + $(MAKE) -C build-deb $(PARALLEL) \ + regress/unittests/sshbuf/test_sshbuf \ + regress/unittests/sshkey/test_sshkey + $(MAKE) -C build-deb/regress \ + .OBJDIR="$(CURDIR)/build-deb/regress" \ + .CURDIR="$(CURDIR)/regress" \ + unit + $(MAKE) -C build-deb compat-tests + $(MAKE) -C debian/keygen-test endif override_dh_auto_clean: rm -rf build-deb build-udeb ifeq ($(RUN_TESTS),yes) - $(MAKE) -C debian/tests clean + $(MAKE) -C debian/keygen-test clean endif $(MAKE) -C contrib clean (cat debian/copyright.head; iconv -f ISO-8859-1 -t UTF-8 LICENCE) \ -- cgit v1.2.3