[Python-modules-commits] r16906 - in packages/preprocess/trunk/debian (rules)

johannr-guest at users.alioth.debian.org johannr-guest at users.alioth.debian.org
Thu May 5 06:55:41 UTC 2011


    Date: Thursday, May 5, 2011 @ 06:55:23
  Author: johannr-guest
Revision: 16906

Let build fail if tests fails.

Modified:
  packages/preprocess/trunk/debian/rules

Modified: packages/preprocess/trunk/debian/rules
===================================================================
--- packages/preprocess/trunk/debian/rules	2011-05-05 06:52:49 UTC (rev 16905)
+++ packages/preprocess/trunk/debian/rules	2011-05-05 06:55:23 UTC (rev 16906)
@@ -11,10 +11,8 @@
 
 test-stamp-%:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	echo "-- Running tests ($*). Even if one of them fails the build is not canceled."
-	-cat /proc/meminfo
-	-cat /proc/cpuinfo
-	cd test; /usr/bin/$* test.py || true
+	echo "-- Running tests for $*."
+	cd test; /usr/bin/$* test.py
 endif
 
 binary-post-install/python-preprocess:: $(addprefix test-stamp-, $(PY_VERSIONS))




More information about the Python-modules-commits mailing list