[med-svn] [gdpc] 01/01: Autopkgtest added with segmentation fault
Canberk Koç
cbk-guest at moszumanska.debian.org
Sat Jul 23 22:42:15 UTC 2016
This is an automated email from the git hooks/post-receive script.
cbk-guest pushed a commit to branch master
in repository gdpc.
commit b0b982788a0aa050287f2314732d6000f6424e11
Author: cbk-guest <cbk-guests at scm.alioth.debian.org>
Date: Sun Jul 24 01:41:41 2016 +0300
Autopkgtest added with segmentation fault
---
debian/changelog | 8 +++++++-
debian/tests/control | 3 +++
debian/tests/run-unit-test | 21 +++++++++++++++++++++
3 files changed, 31 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index ddedd24..08970a3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,14 @@
gdpc (2.2.5-6) UNRELEASED; urgency=medium
+ * Team upload
+
+ [ Andreas Tille ]
* Move packaging from SVN to Git
- -- Andreas Tille <tille at debian.org> Sat, 23 Jul 2016 20:43:03 +0200
+ [ Canberk Koç ]
+ * Autopkgtest added.
+
+ -- Canberk Koç <canberkkoc at gmail.com> Sun, 24 Jul 2016 01:39:50 +0300
gdpc (2.2.5-5) unstable; urgency=medium
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..d2aa55a
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..68b20ed
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,21 @@
+#!/bin/bash
+set -e
+
+pkg="gdpc"
+
+if [ "$AUTOPKGTEST_TMP" = "" ] ; then
+ AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+
+cp -a /usr/share/doc/${pkg}/examples/* $AUTOPKGTEST_TMP
+
+cd $AUTOPKGTEST_TMP
+
+gunzip *.gz
+
+#test recipe from README file
+/usr/bin/gdpc cube 30 m 2 d 20 erase 1 2 3 4 liquid.test
+/usr/bin/gdpc m 2 d 10 erase xyz 2 3 4 5 md.test
+/usr/bin/gdpc m 2 d 10 erase usetypes xyz 2 3 4 5 manytypes.test
+
+echo "PASS"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/gdpc.git
More information about the debian-med-commit
mailing list