[Pkg-ocaml-maint-commits] [hevea] 01/01: improve dep8 package tests, using setting for adttmp and artifacts

Ralf Treinen treinen at moszumanska.debian.org
Thu Oct 16 19:13:25 UTC 2014


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

treinen pushed a commit to branch master
in repository hevea.

commit 06ce058d31d8122d0777883819e7251411a0fdda
Author: Ralf Treinen <treinen at free.fr>
Date:   Thu Oct 16 21:08:02 2014 +0200

    improve dep8 package tests, using setting for adttmp and artifacts
---
 debian/changelog      | 6 ++++++
 debian/tests/control  | 1 -
 debian/tests/examples | 8 ++++----
 3 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index fd1ee5f..76814a5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+hevea (2.18-2) UNRELEASED; urgency=medium
+
+  * Improved package tests, using ${adttmp} and ${adt_artifacts}
+
+ -- Ralf Treinen <treinen at debian.org>  Thu, 16 Oct 2014 21:06:29 +0200
+
 hevea (2.18-1) unstable; urgency=medium
 
   * New upstream version.
diff --git a/debian/tests/control b/debian/tests/control
index cc822f9..bb742e3 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,2 @@
 Tests: examples
 Depends: @, texlive-latex-base
-Restrictions: allow-stderr
diff --git a/debian/tests/examples b/debian/tests/examples
index c24d9d5..f894ba6 100755
--- a/debian/tests/examples
+++ b/debian/tests/examples
@@ -3,9 +3,9 @@
 set -e
 
 sourcedir=debian/examples
-tmpdir=${TMPDIR-/tmp}
-rundir=${tmpdir}/hevea-examples
+rundir=${ADTTMP}
 
-cp -a ${sourcedir} ${rundir}
+cp -a ${sourcedir}/* ${rundir}
 cd ${rundir}
-make > /dev/null
+make > ${ADT_ARTIFACTS}/make.output 2>&1
+

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



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