r2957 - in zodb/trunk/debian/tests (all)

jmuchemb-guest at users.alioth.debian.org jmuchemb-guest at users.alioth.debian.org
Tue Aug 11 13:46:11 UTC 2015


    Date: Tuesday, August 11, 2015 @ 13:46:11
  Author: jmuchemb-guest
Revision: 2957

autopkgtest: simplify 'all' script

Modified:
  zodb/trunk/debian/tests/all

Modified: zodb/trunk/debian/tests/all
===================================================================
--- zodb/trunk/debian/tests/all	2015-08-11 13:45:56 UTC (rev 2956)
+++ zodb/trunk/debian/tests/all	2015-08-11 13:46:11 UTC (rev 2957)
@@ -1,11 +1,11 @@
-#!/bin/bash
-
+#!/bin/sh
 set -e
 
 PYVERS=$(pyversions -vr debian/control)
-TMPFILE=$(mktemp)
 
-cat > $TMPFILE << EOF
+for version in ${PYVERS}; do
+    echo Running tests for python${version}
+    python${version} <<EOF
 from zope import testrunner
 from distutils import sysconfig
 
@@ -19,9 +19,4 @@
 sys.exit(exitcode)
 EOF
 
-for version in ${PYVERS}; do
-    echo Running tests for python${version}
-    python${version} ${TMPFILE}
 done
-
-rm $TMPFILE




More information about the pkg-zope-developers mailing list