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

vdanjean at users.alioth.debian.org vdanjean at users.alioth.debian.org
Tue Feb 16 00:54:18 UTC 2010


    Date: Tuesday, February 16, 2010 @ 00:54:13
  Author: vdanjean
Revision: 4776

Add tests execution while building the package

Added:
  packages/mercurial/trunk/debian/patches/for_upstream__fix_tests_output.patch
Modified:
  packages/mercurial/trunk/debian/patches/series
  packages/mercurial/trunk/debian/rules

Added: packages/mercurial/trunk/debian/patches/for_upstream__fix_tests_output.patch
===================================================================
--- packages/mercurial/trunk/debian/patches/for_upstream__fix_tests_output.patch	                        (rev 0)
+++ packages/mercurial/trunk/debian/patches/for_upstream__fix_tests_output.patch	2010-02-16 00:54:13 UTC (rev 4776)
@@ -0,0 +1,23 @@
+Correct test output so that the test suite pass
+--- a/tests/test-hgweb-commands.out
++++ b/tests/test-hgweb-commands.out
+@@ -781,7 +781,7 @@
+ var revlink = '<li style="_STYLE"><span class="desc">';
+ revlink += '<a class="list" href="/rev/_NODEID?style=gitweb" title="_NODEID"><b>_DESC</b></a>';
+ revlink += '</span> _TAGS';
+-revlink += '<span class="info">_DATE, by _USER</span></li>';
++revlink += '<span class="info">_DATE ago, by _USER</span></li>';
+ 
+ graph.vertex = function(x, y, color, parity, cur) {
+ 	
+--- a/tests/test-hgweb-empty.out
++++ b/tests/test-hgweb-empty.out
+@@ -217,7 +217,7 @@
+ 
+ var revlink = '<li style="_STYLE"><span class="desc">';
+ revlink += '<a href="/rev/_NODEID" title="_NODEID">_DESC</a>';
+-revlink += '</span>_TAGS<span class="info">_DATE, by _USER</span></li>';
++revlink += '</span>_TAGS<span class="info">_DATE ago, by _USER</span></li>';
+ 
+ graph.vertex = function(x, y, color, parity, cur) {
+ 	

Modified: packages/mercurial/trunk/debian/patches/series
===================================================================
--- packages/mercurial/trunk/debian/patches/series	2010-02-16 00:53:15 UTC (rev 4775)
+++ packages/mercurial/trunk/debian/patches/series	2010-02-16 00:54:13 UTC (rev 4776)
@@ -1,3 +1,4 @@
+for_upstream__fix_tests_output.patch
 for_upstream__add_doc_url_in_example_files.patch
 deb_specific__mergetools
 proposed_upstream__dont-install-i18n

Modified: packages/mercurial/trunk/debian/rules
===================================================================
--- packages/mercurial/trunk/debian/rules	2010-02-16 00:53:15 UTC (rev 4775)
+++ packages/mercurial/trunk/debian/rules	2010-02-16 00:54:13 UTC (rev 4776)
@@ -8,6 +8,7 @@
 
 override_dh_auto_build: $(PYVERS:%=build-python%)
 	$(MAKE) -C doc man
+	$(MAKE) tests
 	# 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
 




More information about the Python-apps-commits mailing list