[libfann] 06/34: d/tests: Drop test "python-build"

Christian Kastner chrisk-guest at moszumanska.debian.org
Thu Oct 1 18:06:20 UTC 2015


This is an automated email from the git hooks/post-receive script.

chrisk-guest pushed a commit to branch master
in repository libfann.

commit 11ecef166437590c790371522efd04260aa30968
Author: Christian Kastner <ckk at kvr.at>
Date:   Thu Oct 1 10:42:04 2015 +0200

    d/tests: Drop test "python-build"
---
 debian/tests/python-build | 25 -------------------------
 1 file changed, 25 deletions(-)

diff --git a/debian/tests/python-build b/debian/tests/python-build
deleted file mode 100644
index 7a2f775..0000000
--- a/debian/tests/python-build
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-# autopkgtest check: Python module successfully imported and executed
-set -e
-
-# Presence of $ADTTMP implies that someone will handle cleanup for us
-if [ -z "$ADTTMP" ]
-then
-	echo "Required envvar \"$ADTTMP\"is not set" >&2
-	exit 1
-fi
-
-# Set the interpreter, or use the default
-: ${PYINTERPRETER:=python}
-
-# Copy the simple example and the training data to $ADTTMP, and execute it
-cp python/examples/simple_train.py "$ADTTMP"
-cp examples/xor.data "$ADTTMP"
-cd "$ADTTMP"
-
-# Fix input (training data) and output paths in the example
-sed -i -r -e 's|\.\./\.\./examples/||' simple_train.py
-sed -i -r -e 's|nets/||' simple_train.py
-
-$PYINTERPRETER simple_train.py
-echo "run: OK"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libfann.git



More information about the debian-science-commits mailing list