Package: db4.4
Version: 4.4.20-7
Tags: patch
Hi,
it would be nice if db4.4 would not run the test suite if `nocheck' is
defined in DEB_BUILD_OPTIONS. This feature is used by large parts of
the toolchain (glibc, gcc, binutils I believe, plus python etc.) already
and I hope to get it included in policy post-etch.
Patch attached.
thanks,
Michael
--- db4.4-4.4.20/debian/rules.orig 2006-07-30 17:40:23.000000000 +0200
+++ db4.4-4.4.20/debian/rules 2006-07-30 17:39:59.000000000 +0200
@@ -82,10 +82,12 @@
cd obj && $(MAKE)
#ifneq (,$(findstring $(DEB_BUILD_GNU_CPU),ia64))
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
chmod +x ./debian/runtests.tclsh
cd obj && ../debian/runtests.tclsh || true
grep ^FAIL obj/ALL.OUT || true
+endif
#endif
touch build