diff options
author | Colin Watson <cjwatson@debian.org> | 2014-10-08 22:33:32 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2014-10-08 22:33:32 +0100 |
commit | 9779ee47871217df935261f6931eeb285198da51 (patch) | |
tree | 0754ce028799decd90984bdcd7e5eb7c64e42059 /debian/rules | |
parent | f0b009aea83e9ff3a50be30f51012099a5143c16 (diff) |
Run a subset of the upstream regression test suite at package build time, and the rest of it under autopkgtest.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 13 |
1 files changed, 11 insertions, 2 deletions
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: | |||
145 | 145 | ||
146 | override_dh_auto_test: | 146 | override_dh_auto_test: |
147 | ifeq ($(RUN_TESTS),yes) | 147 | ifeq ($(RUN_TESTS),yes) |
148 | $(MAKE) -C debian/tests | 148 | $(MAKE) -C build-deb regress-prep |
149 | $(MAKE) -C build-deb $(PARALLEL) \ | ||
150 | regress/unittests/sshbuf/test_sshbuf \ | ||
151 | regress/unittests/sshkey/test_sshkey | ||
152 | $(MAKE) -C build-deb/regress \ | ||
153 | .OBJDIR="$(CURDIR)/build-deb/regress" \ | ||
154 | .CURDIR="$(CURDIR)/regress" \ | ||
155 | unit | ||
156 | $(MAKE) -C build-deb compat-tests | ||
157 | $(MAKE) -C debian/keygen-test | ||
149 | endif | 158 | endif |
150 | 159 | ||
151 | override_dh_auto_clean: | 160 | override_dh_auto_clean: |
152 | rm -rf build-deb build-udeb | 161 | rm -rf build-deb build-udeb |
153 | ifeq ($(RUN_TESTS),yes) | 162 | ifeq ($(RUN_TESTS),yes) |
154 | $(MAKE) -C debian/tests clean | 163 | $(MAKE) -C debian/keygen-test clean |
155 | endif | 164 | endif |
156 | $(MAKE) -C contrib clean | 165 | $(MAKE) -C contrib clean |
157 | (cat debian/copyright.head; iconv -f ISO-8859-1 -t UTF-8 LICENCE) \ | 166 | (cat debian/copyright.head; iconv -f ISO-8859-1 -t UTF-8 LICENCE) \ |