[Python-apps-commits] r8219 - in packages/mercurial/trunk/debian (3 files)

vicho-guest at users.alioth.debian.org vicho-guest at users.alioth.debian.org
Sat Feb 25 17:58:08 UTC 2012


    Date: Saturday, February 25, 2012 @ 17:58:06
  Author: vicho-guest
Revision: 8219

Run tests in the buildds

Added:
  packages/mercurial/trunk/debian/mercurial.test_blacklist
Modified:
  packages/mercurial/trunk/debian/changelog
  packages/mercurial/trunk/debian/rules	(contents, properties)

Modified: packages/mercurial/trunk/debian/changelog
===================================================================
--- packages/mercurial/trunk/debian/changelog	2012-02-25 17:52:25 UTC (rev 8218)
+++ packages/mercurial/trunk/debian/changelog	2012-02-25 17:58:06 UTC (rev 8219)
@@ -2,8 +2,9 @@
 
   * Recommend ssh
   * Bump watch version to 3 since we are using version mangling
+  * Run tests in the buildds
 
- -- Javi Merino <cibervicho at gmail.com>  Tue, 14 Feb 2012 21:42:32 +0000
+ -- Javi Merino <cibervicho at gmail.com>  Sat, 25 Feb 2012 17:54:44 +0000
 
 mercurial (2.1-1) unstable; urgency=low
 

Added: packages/mercurial/trunk/debian/mercurial.test_blacklist
===================================================================
--- packages/mercurial/trunk/debian/mercurial.test_blacklist	                        (rev 0)
+++ packages/mercurial/trunk/debian/mercurial.test_blacklist	2012-02-25 17:58:06 UTC (rev 8219)
@@ -0,0 +1,51 @@
+# These tests need networking (there is no network in buildds, not
+# even loopback)
+test-archive.t
+test-extension.t
+test-hgweb.t
+test-hgweb-commands.t
+test-hgweb-descend-empties.t
+test-hgweb-diffs.t
+test-hgweb-empty.t
+test-hgweb-filelog.t
+test-hgweb-no-path-info.t
+test-hgweb-no-request-uri.t
+test-hgweb-non-interactive.t
+test-hgweb-raw.t
+test-hgweb-removed.t
+test-hgwebdir.t
+test-hgwebdirsym.t
+test-interhg.t
+test-keyword.t
+test-mq-qclone-http.t
+test-mq-qimport.t
+test-newcgi.t
+test-newercgi.t
+test-oldcgi.t
+test-serve.t
+test-share.t
+test-subrepo-relative-path.t
+
+# Failed to locate styles (?)
+test-bisect3.t
+test-command-template.t
+test-glog.t
+test-install.t
+test-log.t
+test-tag.t
+
+# No such file or directory /usr/share/mercurial/help/revsets.txt (?)
+test-bookmarks.t
+test-help.t
+test-mq.t
+test-transplant.t
+
+# No *.po in $TESTDIR/i18n/ (?)
+test-gendoc.t
+
+# I'm missing some locales or something (?)
+test-i18n.t
+
+# test-check-code-hg.t doesn't work if the directory is not a hg clone
+# http://mercurial.selenic.com/bts/issue3248
+test-check-code-hg.t

Modified: packages/mercurial/trunk/debian/rules
===================================================================
--- packages/mercurial/trunk/debian/rules	2012-02-25 17:52:25 UTC (rev 8218)
+++ packages/mercurial/trunk/debian/rules	2012-02-25 17:58:06 UTC (rev 8219)
@@ -11,8 +11,10 @@
 	# Do not start a line with a word with a dot in a manpage
 	sed -i -e 's,^[.]\(hgignore\|hg/hgrc\),\\fP\1,' doc/hg.1
 
-# Tests are not yet ready to be run in Debian build context
+PARALLEL_TEST_JOBS=$(shell printenv DEB_BUILD_OPTIONS | awk -F= 'BEGIN {RS=" "} /parallel/ {print "--jobs " $$2}')
+
 override_dh_auto_test:
+	dh_auto_test -- TESTFLAGS="--timeout 360 $(PARALLEL_TEST_JOBS) --blacklist $(CURDIR)/debian/mercurial.test_blacklist"
 
 build-python%: mercurial/__version__.py
 	python$* setup.py build




More information about the Python-apps-commits mailing list