[Pkg-db-devel] Bug#380383: db4.3: Do not run test suite if
DEB_BUILD_OPTIONS contains `nocheck'
Michael Banck
mbanck at debian.org
Sat Jul 29 17:14:20 UTC 2006
Package: db4.3
Version: 4.3.29-6
Tags: patch
Hi,
it would be nice if db4.3 (and 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, should I file a similar bug for db4.4?
thanks,
Michael
-------------- next part --------------
--- db4.3-4.3.29/debian/rules.orig 2006-07-29 19:12:31.000000000 +0200
+++ db4.3-4.3.29/debian/rules 2006-07-29 19:12:57.000000000 +0200
@@ -72,10 +72,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
More information about the Pkg-db-devel
mailing list