[Pkg-ocaml-maint-commits] [ocamlweb] 01/01: start on tests

Ralf Treinen treinen at moszumanska.debian.org
Thu May 28 16:36:35 UTC 2015


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

treinen pushed a commit to branch scratch/adt
in repository ocamlweb.

commit ba379dcf9f5bc2f7d8a59a7cae28bfb5b48005bb
Author: treinen <treinen at mobrt>
Date:   Fri May 29 02:43:31 2015 +0200

    start on tests
---
 debian/tests/control |  2 ++
 debian/tests/source  | 11 +++++++++++
 2 files changed, 13 insertions(+)

diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..6c88f23
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: source
+Depends: @, texlive-latex-base
diff --git a/debian/tests/source b/debian/tests/source
new file mode 100755
index 0000000..b320f66
--- /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}/${outfile}
+cd ${outdir}
+latex ${outfile}

-- 
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