[Pkg-ocaml-maint-commits] [ocamlweb] 01/02: add dep8 style package test
Ralf Treinen
treinen at moszumanska.debian.org
Thu May 28 19:31:52 UTC 2015
This is an automated email from the git hooks/post-receive script.
treinen pushed a commit to branch master
in repository ocamlweb.
commit fcd7c3cd9400964acb8d202b87f32baf066ca999
Author: Ralf Treinen <treinen at free.fr>
Date: Thu May 28 21:20:58 2015 +0200
add dep8 style package test
---
debian/changelog | 3 ++-
debian/control | 1 +
debian/tests/control | 3 +++
debian/tests/source | 11 +++++++++++
4 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index c45a122..4eb4417 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,8 +8,9 @@ ocamlweb (1.39-1) UNRELEASED; urgency=low
* d/copyright:
- fix pattern debian/*
- fix order of Files stanzas
+ * add dep8 style package test
- -- Ralf Treinen <treinen at debian.org> Wed, 27 May 2015 20:46:40 +0200
+ -- Ralf Treinen <treinen at debian.org> Thu, 28 May 2015 20:52:29 +0200
ocamlweb (1.38-2) unstable; urgency=low
diff --git a/debian/control b/debian/control
index db1c265..3ac5c42 100644
--- a/debian/control
+++ b/debian/control
@@ -14,6 +14,7 @@ Build-Depends: debhelper (>= 7.0.50~),
Vcs-Git: git://anonscm.debian.org/pkg-ocaml-maint/packages/ocamlweb.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ocaml-maint/packages/ocamlweb.git
Homepage: http://www.lri.fr/~filliatr/ocamlweb/index.en.html
+Testsuite: autopkgtest
Package: ocamlweb
Architecture: all
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..cd3d949
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: source
+Depends: @, texlive-latex-base, texlive-latex-extra
+
diff --git a/debian/tests/source b/debian/tests/source
new file mode 100755
index 0000000..28af7fc
--- /dev/null
+++ b/debian/tests/source
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+infile=main.ml
+texfile=${infile%.ml}.tex
+outdir=${ADT_ARTIFACTS}
+
+ocamlweb ${infile} > ${outdir}/${texfile}
+cd ${outdir}
+latex ${texfile}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/ocamlweb.git
More information about the Pkg-ocaml-maint-commits
mailing list