[Python-modules-commits] r11261 - in packages/html5lib/trunk/debian (changelog rules)

bzed at users.alioth.debian.org bzed at users.alioth.debian.org
Sun Jan 24 00:29:18 UTC 2010


    Date: Sunday, January 24, 2010 @ 00:29:16
  Author: bzed
Revision: 11261

Check for the tests directory before running tests.
They're not always included in the source.... 

Modified:
  packages/html5lib/trunk/debian/changelog
  packages/html5lib/trunk/debian/rules

Modified: packages/html5lib/trunk/debian/changelog
===================================================================
--- packages/html5lib/trunk/debian/changelog	2010-01-24 00:23:50 UTC (rev 11260)
+++ packages/html5lib/trunk/debian/changelog	2010-01-24 00:29:16 UTC (rev 11261)
@@ -2,8 +2,10 @@
 
   * New upstream version. 
   * Updating patch to apply at the new version. 
+  * Check for the tests directory before running tests.
+    They're not always included in the source.... 
 
- -- Bernd Zeimetz <bzed at debian.org>  Sun, 24 Jan 2010 01:23:33 +0100
+ -- Bernd Zeimetz <bzed at debian.org>  Sun, 24 Jan 2010 01:28:50 +0100
 
 html5lib (0.11.1-3) unstable; urgency=low
 

Modified: packages/html5lib/trunk/debian/rules
===================================================================
--- packages/html5lib/trunk/debian/rules	2010-01-24 00:23:50 UTC (rev 11260)
+++ packages/html5lib/trunk/debian/rules	2010-01-24 00:29:16 UTC (rev 11261)
@@ -20,10 +20,10 @@
 
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	set -e ;\
-	cd tests ;\
+	if [ -d tests ]; then cd tests ;\
 	for py in $(PYVERS); do  \
 	    PYTHONPATH=$(CURDIR)/build/lib $$py runtests.py; \
-	done
+	done; fi
 endif
 
 	touch $@




More information about the Python-modules-commits mailing list