[Python-apps-commits] r8494 - in packages/sinntp/trunk/debian/tests (tests)
jwilk at users.alioth.debian.org
jwilk at users.alioth.debian.org
Wed Apr 18 21:09:35 UTC 2012
Date: Wednesday, April 18, 2012 @ 21:09:33
Author: jwilk
Revision: 8494
Run DEP-8 tests with all installed Python versions.
Modified:
packages/sinntp/trunk/debian/tests/tests
Modified: packages/sinntp/trunk/debian/tests/tests
===================================================================
--- packages/sinntp/trunk/debian/tests/tests 2012-04-18 21:05:20 UTC (rev 8493)
+++ packages/sinntp/trunk/debian/tests/tests 2012-04-18 21:09:33 UTC (rev 8494)
@@ -1,5 +1,8 @@
-#!/usr/bin/python
+#!/bin/sh
+pyversions -i \
+| tr ' ' '\n' \
+| xargs -t -I {} env {} -c "
import sys
sys.path[0:0] = ['/usr/share/sinntp/']
-sys.argv[1:1] = ['--verbose']
execfile('tests.py')
+" --verbose
More information about the Python-apps-commits
mailing list