[Pkg-ocaml-maint-commits] [camlzip] 09/09: autopkgtest-style test

Ralf Treinen treinen at moszumanska.debian.org
Sat Sep 10 18:34:28 UTC 2016


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

treinen pushed a commit to branch master
in repository camlzip.

commit 98e0bedeac7c7175f3d43b143cb2ab12822a919d
Author: Ralf Treinen <treinen at free.fr>
Date:   Sat Sep 10 11:54:35 2016 +0200

    autopkgtest-style test
---
 debian/changelog      | 3 ++-
 debian/tests/control  | 2 ++
 debian/tests/upstream | 9 +++++++++
 3 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 3bf1939..ffb791a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,8 +12,9 @@ camlzip (1.06-1) unstable; urgency=medium
     by Breaks
   * libzip-ocaml-dev: dropped Conflicts/Replaces/Provides camlzip since
     that binary package disappeared in 2002.
+  * Added autopkgtest-style test, using the test provided by upstream
 
- -- Ralf Treinen <treinen at debian.org>  Thu, 08 Sep 2016 21:44:31 +0200
+ -- Ralf Treinen <treinen at debian.org>  Sat, 10 Sep 2016 11:43:43 +0200
 
 camlzip (1.05-3) unstable; urgency=low
 
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..0100f47
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: upstream
+Depends:  libzip-ocaml-dev
diff --git a/debian/tests/upstream b/debian/tests/upstream
new file mode 100755
index 0000000..cf59bda
--- /dev/null
+++ b/debian/tests/upstream
@@ -0,0 +1,9 @@
+#!/bin/sh
+# needs patches to be applied in order to apply to installed package
+
+set -e
+
+testdir=${AUTOPKGTEST_TMP}
+cp test/* ${testdir}
+cd ${testdir}
+make

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/camlzip.git



More information about the Pkg-ocaml-maint-commits mailing list