diff options
| author | Guillem Jover <guillem@debian.org> | 2007-03-06 05:52:11 +0000 |
|---|---|---|
| committer | Guillem Jover <guillem@debian.org> | 2007-03-06 05:52:11 +0000 |
| commit | c6b0bbce253482d3ff1e2b33969acf5534bc766c (patch) | |
| tree | 6e52eb79e78bffe7b6e6421fdbc95f0e025b0499 | |
| parent | a4dc2f8278e1f9f003e12b938234928d2ef2dce3 (diff) | |
Run the test suite after build. (Closes: #390872)
| -rw-r--r-- | debian/changelog | 1 | ||||
| -rwxr-xr-x | debian/rules | 18 |
2 files changed, 18 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 6920c86..7220415 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,7 @@ gnumach (2:1.3.99.dfsg.cvs20070306-1) UNRELEASED; urgency=low * Fixed MMX register support. (Closes: #413177) - debian/patches/20_mmx_support.patch: Updated. Thanks to Samuel Thibault <samuel.thibault@ens-lyon.org>. + * Run the test suite after build. (Closes: #390872) -- Guillem Jover <guillem@debian.org> Tue, 6 Mar 2007 06:45:13 +0200 diff --git a/debian/rules b/debian/rules index e4bfb5d..5d1b403 100755 --- a/debian/rules +++ b/debian/rules @@ -23,6 +23,12 @@ else CFLAGS += -O2 endif +ifneq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) + CHECKS := +else + CHECKS := check-gnumach check-gnumach-dbg +endif + drivers := \ --enable-sis900 @@ -65,6 +71,16 @@ build-gnumach-dbg: configure-dbg $(MAKE) -C build-dbg +check-gnumach: build-gnumach + dh_testdir + + $(MAKE) -C build check + +check-gnumach-dbg: build-gnumach-dbg + dh_testdir + + $(MAKE) -C build-dbg check + clean: unpatch dh_testdir @@ -73,7 +89,7 @@ clean: unpatch dh_clean -install: build-gnumach build-gnumach-dbg +install: build-gnumach build-gnumach-dbg $(CHECKS) dh_testdir dh_testroot dh_clean -a -k |
