[Python-modules-commits] r25512 - in packages/cerealizer/trunk/debian (rules runtests.py)

bernat at users.alioth.debian.org bernat at users.alioth.debian.org
Sun Aug 11 16:49:08 UTC 2013


    Date: Sunday, August 11, 2013 @ 16:49:06
  Author: bernat
Revision: 25512

Only run regtest.py.

Other are benchmarks. Unfortunately, one test is failing.

Modified:
  packages/cerealizer/trunk/debian/rules
Deleted:
  packages/cerealizer/trunk/debian/runtests.py

Modified: packages/cerealizer/trunk/debian/rules
===================================================================
--- packages/cerealizer/trunk/debian/rules	2013-08-11 16:38:22 UTC (rev 25511)
+++ packages/cerealizer/trunk/debian/rules	2013-08-11 16:49:06 UTC (rev 25512)
@@ -6,4 +6,4 @@
 
 override_dh_auto_test:
 	PYBUILD_SYSTEM=custom \
-	PYBUILD_TEST_ARGS="nosetests --with-doctest {build_dir}/" dh_auto_test
+	PYBUILD_TEST_ARGS="nosetests --with-doctest test/regtest.py" dh_auto_test

Deleted: packages/cerealizer/trunk/debian/runtests.py
===================================================================
--- packages/cerealizer/trunk/debian/runtests.py	2013-08-11 16:38:22 UTC (rev 25511)
+++ packages/cerealizer/trunk/debian/runtests.py	2013-08-11 16:49:06 UTC (rev 25512)
@@ -1,15 +0,0 @@
-import sys
-from os.path import join
-from distutils.sysconfig import get_python_lib
-from site import addsitedir
-
-root = sys.argv.pop(1)
-site_packages = get_python_lib()
-
-_path = sys.path[:]
-sys.path[:] = []
-addsitedir(join(root, site_packages[1:]))
-addsitedir(join(root, site_packages[1:].replace('dist-packages', 'site-packages')))
-sys.path.extend(_path)
-
-execfile("test/regtest.py")




More information about the Python-modules-commits mailing list