monotone-commits-diffs
[Top][All Lists]
Advanced

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

[Monotone-commits-diffs] org.debian.monotone: c34eeff7b53148b956112add5b


From: code
Subject: [Monotone-commits-diffs] org.debian.monotone: c34eeff7b53148b956112add5b5dba9657a3609e
Date: Mon, 11 Mar 2013 21:54:37 +0100 (CET)

revision:            c34eeff7b53148b956112add5b5dba9657a3609e
date:                2009-11-14T19:39:49
author:              address@hidden
branch:              org.debian.monotone
changelog:
Hey, a fix for #537719 after all

manifest:
format_version "1"

new_manifest [c9d737e3abe065c2dc472723703bb8f1db610653]

old_revision [8133506942344632c4a23947bdf58d36cedca119]

patch "changelog"
 from [54d7f05d977c4839318851494f6656221955609b]
   to [69f38c14a1604b6e5ae2057258224b2661a18282]

patch "rules"
 from [aefe7ae2c0beee3d9a17d2dda16e92f40732085e]
   to [3df6caa340b5d9ea5c013c447912abe581b25044]
============================================================
--- changelog	54d7f05d977c4839318851494f6656221955609b
+++ changelog	69f38c14a1604b6e5ae2057258224b2661a18282
@@ -13,6 +13,7 @@ monotone (0.45-1) unstable; urgency=low
     or earlier (closes: #542287).
   * Build-depend on poppler-utils | xpdf-utils, as the latter may be dropped
     from squeeze (closes: #549386).
+  * Force-disable testsuite if built with root privileges (closes: #537719).
   * New template translations:
     - Russian, thanks to Yuri Kozlov (closes: #541758).
     - Italian, thanks to Vincenzo Campanella (no bug).
============================================================
--- rules	aefe7ae2c0beee3d9a17d2dda16e92f40732085e
+++ rules	3df6caa340b5d9ea5c013c447912abe581b25044
@@ -70,7 +70,13 @@ build-arch-stamp: config.status
 build-arch: build-arch-stamp
 build-arch-stamp: config.status
 	dh_auto_build -- $(PAR) INFO_DEPS=
-	dh_auto_test -- $(PAR) INFO_DEPS= || sh contrib/dump-test-logs.sh
+ifeq "$(findstring nocheck,$(DEB_BUILD_OPTIONS))" ""
+	if [ `id -u` -eq 0 ]; then \
+	  echo "WARNING: Test suite does not work for root - skipping"; \
+	else \
+	  dh_auto_test -- $(PAR) INFO_DEPS= || sh contrib/dump-test-logs.sh; \
+	fi
+endif
 	touch $@
 
 # Conversely, in build-indep all we want is the documentation.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]