[Python-modules-commits] r27773 - in packages/pygame/branches/sid/debian (changelog rules)

vcheng at users.alioth.debian.org vcheng at users.alioth.debian.org
Wed Feb 19 10:21:09 UTC 2014


    Date: Wednesday, February 19, 2014 @ 10:21:08
  Author: vcheng
Revision: 27773

Merge changes from trunk/experimental into sid branch

Modified:
  packages/pygame/branches/sid/debian/changelog
  packages/pygame/branches/sid/debian/rules

Modified: packages/pygame/branches/sid/debian/changelog
===================================================================
--- packages/pygame/branches/sid/debian/changelog	2014-02-19 02:35:14 UTC (rev 27772)
+++ packages/pygame/branches/sid/debian/changelog	2014-02-19 10:21:08 UTC (rev 27773)
@@ -6,6 +6,9 @@
   * Remove dependency on ${python:Provides}.
   * Remove Replaces+Conflicts with obsolete pygame packages.
 
+  [ Jakub Wilk ]
+  * Run tests only if DEB_BUILD_OPTIONS=nocheck is not set.
+
  -- Vincent Cheng <Vincentc1208 at gmail.com>  Fri, 24 May 2013 02:54:45 -0700
 
 pygame (1.9.1release+dfsg-8) unstable; urgency=low

Modified: packages/pygame/branches/sid/debian/rules
===================================================================
--- packages/pygame/branches/sid/debian/rules	2014-02-19 02:35:14 UTC (rev 27772)
+++ packages/pygame/branches/sid/debian/rules	2014-02-19 10:21:08 UTC (rev 27773)
@@ -25,6 +25,14 @@
 
 	dh_clean
 
+override_dh_auto_test:
+ifeq "$(filter nocheck,$(DEB_BUILD_OPTIONS))" ""
+	# buildds don't provide graphical interfaces or audio/video devices
+	# to test with, hence some tests won't work properly without:
+	SDL_VIDEODRIVER=dummy SDL_AUDIODRIVER=disk \
+	python run_tests.py --exclude opengl,display || true
+endif
+
 override_dh_installdocs:
 	dh_installdocs -a $(doclist)
 




More information about the Python-modules-commits mailing list