[Python-apps-commits] r4964 - in packages/ocrodjvu/trunk/debian (changelog rules)
jwilk at users.alioth.debian.org
jwilk at users.alioth.debian.org
Fri Mar 19 11:20:55 UTC 2010
Date: Friday, March 19, 2010 @ 11:20:54
Author: jwilk
Revision: 4964
Rewrite test running code in debian/rules. (But don't run tests for
djvu2hocr, as they broken.)
Modified:
packages/ocrodjvu/trunk/debian/changelog
packages/ocrodjvu/trunk/debian/rules
Modified: packages/ocrodjvu/trunk/debian/changelog
===================================================================
--- packages/ocrodjvu/trunk/debian/changelog 2010-03-19 11:06:05 UTC (rev 4963)
+++ packages/ocrodjvu/trunk/debian/changelog 2010-03-19 11:20:54 UTC (rev 4964)
@@ -4,6 +4,8 @@
+ Give more meaningful error messages on a malformed hOCR produced by
Cuneiform (closes: #573496).
+ Stop crashing on --version (closes: #573496).
+ + Rewrite test running code in debian/rules. (But don't run tests for
+ djvu2hocr, as they broken.)
* Update homepage URL.
-- Jakub Wilk <jwilk at debian.org> Fri, 19 Mar 2010 12:05:38 +0100
Modified: packages/ocrodjvu/trunk/debian/rules
===================================================================
--- packages/ocrodjvu/trunk/debian/rules 2010-03-19 11:06:05 UTC (rev 4963)
+++ packages/ocrodjvu/trunk/debian/rules 2010-03-19 11:20:54 UTC (rev 4964)
@@ -20,10 +20,13 @@
.PHONY: override_dh_auto_test
override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
+ # FIXME: run tests to djvu2hocr, too
set -e; \
for python in $(shell pyversions -r); do \
- $(MAKE) -C tests/ clean; \
- $(MAKE) -C tests/ hocr2djvused="$$python ../hocr2djvused"; \
+ for app in hocr2djvused; do \
+ $(MAKE) -C tests/$$app/ clean; \
+ $(MAKE) -C tests/$$app/ $$app="$$python ../../$$app"; \
+ done; \
done
endif
More information about the Python-apps-commits
mailing list