diff options
author | Colin Watson <cjwatson@debian.org> | 2010-01-12 18:54:06 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2010-01-12 18:54:06 +0000 |
commit | e2e22487121c994f951c633893dfe625c8681440 (patch) | |
tree | 9bb3ad87eb359327fc2aab327a7c5444db09f389 | |
parent | 63f53e4f02ecb179aabb8ff55a531bf5ee76f8c5 (diff) |
Don't run tests when cross-compiling.
-rw-r--r-- | debian/changelog | 1 | ||||
-rwxr-xr-x | debian/rules | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 8d617adde..718ce3924 100644 --- a/debian/changelog +++ b/debian/changelog | |||
@@ -5,6 +5,7 @@ openssh (1:5.2p1-2) UNRELEASED; urgency=low | |||
5 | re-execs itself. Prevents two HUPs in quick succession from resulting | 5 | re-execs itself. Prevents two HUPs in quick succession from resulting |
6 | in sshd dying (LP: #497781). | 6 | in sshd dying (LP: #497781). |
7 | * Use host compiler for ssh-askpass-gnome when cross-compiling. | 7 | * Use host compiler for ssh-askpass-gnome when cross-compiling. |
8 | * Don't run tests when cross-compiling. | ||
8 | 9 | ||
9 | -- Colin Watson <cjwatson@debian.org> Sun, 10 Jan 2010 22:06:28 +0000 | 10 | -- Colin Watson <cjwatson@debian.org> Sun, 10 Jan 2010 22:06:28 +0000 |
10 | 11 | ||
diff --git a/debian/rules b/debian/rules index 8bba8f95e..618525636 100755 --- a/debian/rules +++ b/debian/rules | |||
@@ -128,7 +128,9 @@ endif | |||
128 | 128 | ||
129 | $(MAKE) -C build-deb -j 2 ASKPASS_PROGRAM='/usr/bin/ssh-askpass' | 129 | $(MAKE) -C build-deb -j 2 ASKPASS_PROGRAM='/usr/bin/ssh-askpass' |
130 | $(MAKE) -C contrib gnome-ssh-askpass2 CC='$(CC) $(OPTFLAGS) -g -Wall' | 130 | $(MAKE) -C contrib gnome-ssh-askpass2 CC='$(CC) $(OPTFLAGS) -g -Wall' |
131 | ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) | ||
131 | $(MAKE) -C debian/tests | 132 | $(MAKE) -C debian/tests |
133 | endif | ||
132 | 134 | ||
133 | touch build-deb-stamp | 135 | touch build-deb-stamp |
134 | 136 | ||
@@ -148,7 +150,9 @@ build-udeb-stamp: | |||
148 | clean: | 150 | clean: |
149 | dh_testdir | 151 | dh_testdir |
150 | rm -rf build-deb build-udeb | 152 | rm -rf build-deb build-udeb |
153 | ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) | ||
151 | $(MAKE) -C debian/tests clean | 154 | $(MAKE) -C debian/tests clean |
155 | endif | ||
152 | $(MAKE) -C contrib clean | 156 | $(MAKE) -C contrib clean |
153 | (cat debian/copyright.head; iconv -f ISO-8859-1 -t UTF-8 LICENCE) \ | 157 | (cat debian/copyright.head; iconv -f ISO-8859-1 -t UTF-8 LICENCE) \ |
154 | > debian/copyright | 158 | > debian/copyright |