[Python-modules-commits] r22327 - in packages/gamera/trunk/debian (3 files)
jwilk at users.alioth.debian.org
jwilk at users.alioth.debian.org
Wed Jun 27 08:50:02 UTC 2012
Date: Wednesday, June 27, 2012 @ 08:50:00
Author: jwilk
Revision: 22327
DEP-8 tests: use $ADTTMP.
Modified:
packages/gamera/trunk/debian/changelog
packages/gamera/trunk/debian/tests/python-gamera
packages/gamera/trunk/debian/tests/python-gamera-dbg
Modified: packages/gamera/trunk/debian/changelog
===================================================================
--- packages/gamera/trunk/debian/changelog 2012-06-27 08:41:02 UTC (rev 22326)
+++ packages/gamera/trunk/debian/changelog 2012-06-27 08:50:00 UTC (rev 22327)
@@ -1,3 +1,9 @@
+gamera (3.3.3-2) UNRELEASED; urgency=low
+
+ * DEP-8 tests: use $ADTTMP.
+
+ -- Jakub Wilk <jwilk at debian.org> Wed, 27 Jun 2012 10:43:10 +0200
+
gamera (3.3.3-1) unstable; urgency=low
* New upstream release.
Modified: packages/gamera/trunk/debian/tests/python-gamera
===================================================================
--- packages/gamera/trunk/debian/tests/python-gamera 2012-06-27 08:41:02 UTC (rev 22326)
+++ packages/gamera/trunk/debian/tests/python-gamera 2012-06-27 08:50:00 UTC (rev 22327)
@@ -1,12 +1,10 @@
#!/bin/sh
set -e -u
-tmpdir=$(mktemp -t -d gamera.test.XXXXXXXX)
-cp -a tests/ "$tmpdir"
-cd "$tmpdir/tests/"
+cp -a tests/ "$ADTTMP"
+cd "$ADTTMP/tests/"
export PYTHONWARNINGS=d
pyversions -i \
| tr ' ' '\n' \
| xargs -I {} env {} \
/usr/bin/nosetests --verbose 2>&1
cd /
-rm -rf "$tmpdir"
Modified: packages/gamera/trunk/debian/tests/python-gamera-dbg
===================================================================
--- packages/gamera/trunk/debian/tests/python-gamera-dbg 2012-06-27 08:41:02 UTC (rev 22326)
+++ packages/gamera/trunk/debian/tests/python-gamera-dbg 2012-06-27 08:50:00 UTC (rev 22327)
@@ -1,8 +1,7 @@
#!/bin/sh
set -e -u
-tmpdir=$(mktemp -t -d gamera.test.XXXXXXXX)
-cp -a tests/ "$tmpdir"
-cd "$tmpdir/tests/"
+cp -a tests/ "$ADTTMP"
+cd "$ADTTMP/tests/"
export PYTHONWARNINGS=d
pyversions -i \
| tr ' ' '\n' \
@@ -11,4 +10,3 @@
| xargs -I {} env {} \
/usr/bin/nosetests --verbose 2>&1
cd /
-rm -rf "$tmpdir"
More information about the Python-modules-commits
mailing list