[Pkg-chromium-maint] Bug#589653: chromium-browser: honor DEB_BUILD_OPTIONS=nocheck

Jonathan Nieder jrnieder at gmail.com
Mon Jul 19 16:28:56 UTC 2010


Source: chromium-browser
Version: 5.0.375.99~r51029-4
Tags: patch
Justification: Policy §4.9.1

I haven’t confirmed this works yet, because of another problem (see
next report).  It looks like the right thing to do, at least.

Thoughts welcome, as always.
---
diff --git a/debian/rules b/debian/rules
index 7bde408..a488b9d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,6 +45,10 @@ NJOBS := -j$(PARALLEL_JOBS)
 DEB_MAKE_ENVVARS := MAKEFLAGS=$(NJOBS)
 endif
 
+ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))
+WANT_TESTS := 0
+endif
+
 # Disable SSE2
 GYP_DEFINES = enable_sse2=0
 
-- 





More information about the Pkg-chromium-maint mailing list