[Python-apps-commits] r8286 - in packages/mercurial/trunk/debian (rules)
vicho at users.alioth.debian.org
vicho at users.alioth.debian.org
Sat Mar 10 15:28:08 UTC 2012
Date: Saturday, March 10, 2012 @ 15:28:05
Author: vicho
Revision: 8286
Clarify the comment regarding architectures with slow buildds
Modified:
packages/mercurial/trunk/debian/rules (contents, properties)
Modified: packages/mercurial/trunk/debian/rules
===================================================================
--- packages/mercurial/trunk/debian/rules 2012-03-10 15:27:57 UTC (rev 8285)
+++ packages/mercurial/trunk/debian/rules 2012-03-10 15:28:05 UTC (rev 8286)
@@ -22,14 +22,13 @@
ARCH_IS_ARMEL := $(if $(subst armel,,$(DEB_HOST_ARCH)),,T)
override_dh_auto_test:
-# Some tests try to execute two hg commands at the same time
-# to test for corruption. They do so by running an hg command
-# in the background, sleeping one second and running the
-# second command. In slow architectures, one second is not
-# enough and the second test starts before the first one has
-# started printing. This is hacky and we just enhance the
-# hack by incrementing the sleep time in those slow
-# architectures.
+# Some tests try to execute two hg commands at the same time to test
+# for corruption. They do so by running an hg command in the
+# background, sleeping one second and running the second command. In
+# architectures with slow buildds, one second is not enough and the
+# second test starts before the first one has started printing. This
+# is hacky and we just enhance the hack by incrementing the sleep time
+# in those architectures.
ifneq ($(or $(ARCH_IS_MIPS), $(ARCH_IS_KFREEBSD-i386), $(ARCH_IS_ARMEL)),)
sed -i.deb-backup -e 's/sleep 1/sleep 2/' $(CURDIR)/tests/test-pull-pull-corruption.t $(CURDIR)/tests/test-pull-pull-corruption2.t
endif
More information about the Python-apps-commits
mailing list