[python-cpl] 01/02: Add CI tests

Ole Streicher olebole at moszumanska.debian.org
Fri Apr 10 11:54:17 UTC 2015


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

olebole pushed a commit to branch debian
in repository python-cpl.

commit 3cf295999a57c8878c7a8956b350ce31335d67b4
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Fri Apr 10 09:39:11 2015 +0200

    Add CI tests
---
 debian/tests/control    |  2 ++
 debian/tests/python-cpl | 13 +++++++++++++
 2 files changed, 15 insertions(+)

diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..6673a9c
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Test: python-cpl
+Depends: python-cpl, libcpl-dev
diff --git a/debian/tests/python-cpl b/debian/tests/python-cpl
new file mode 100755
index 0000000..9bf87b3
--- /dev/null
+++ b/debian/tests/python-cpl
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+cp -r test "$ADTTMP"
+cd "$ADTTMP"
+
+# Build test recipe
+( cd test/iiinstrumentp && \
+  ./bootstrap && \
+  ./configure && \
+  make CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=500" )
+
+# Run the tests
+MALLOC_CHECK_=0 exec python -Wignore test/TestRecipe.py

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/python-cpl.git



More information about the debian-science-commits mailing list