[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#621681: lintian: Please disable pkgbinarymangler for tests



Package: lintian
Version: 2.5.0~rc2
Severity: wishlist
Tags: patch

Some tests will fail if pkgbinarymangler is enabled. Please disable
pkgbinarymangler for the test run by setting NO_PKG_MANGLE (patch attached).
diff --git a/debian/rules b/debian/rules
index 76f1d04..b30d4ad 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,7 +32,7 @@ runtests: $(neededfiles) $(allchecks) $(allcollect) $(tagfiles) $(testfiles)
 	@echo .... running tests ....
 	rm -rf debian/tests
 	mkdir debian/tests
-	private/runtests $(PAR_ARGS) $(onlyrun)
+	NO_PKG_MANGLE=true private/runtests $(PAR_ARGS) $(onlyrun)
 	if [ "$(onlyrun)" = "" ]; then touch $@; fi
 
 # Like runtests but only runs tests affecting a particular tag.  That tag

Reply to: