From e2e22487121c994f951c633893dfe625c8681440 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 12 Jan 2010 18:54:06 +0000 Subject: Don't run tests when cross-compiling. --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 8bba8f95e..618525636 100755 --- a/debian/rules +++ b/debian/rules @@ -128,7 +128,9 @@ endif $(MAKE) -C build-deb -j 2 ASKPASS_PROGRAM='/usr/bin/ssh-askpass' $(MAKE) -C contrib gnome-ssh-askpass2 CC='$(CC) $(OPTFLAGS) -g -Wall' +ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) $(MAKE) -C debian/tests +endif touch build-deb-stamp @@ -148,7 +150,9 @@ build-udeb-stamp: clean: dh_testdir rm -rf build-deb build-udeb +ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) $(MAKE) -C debian/tests clean +endif $(MAKE) -C contrib clean (cat debian/copyright.head; iconv -f ISO-8859-1 -t UTF-8 LICENCE) \ > debian/copyright -- cgit v1.2.3