Commit 4581e61c authored by Ralf Treinen's avatar Ralf Treinen

fix as-installed test

parent 83844a6c
camlzip (1.07-2) unstable; urgency=medium
* fix as-installed test: put compilation commands in testscript,
instead of using upstreams Makefile (closes: #901169)
-- Ralf Treinen <> Sun, 10 Jun 2018 21:52:05 +0200
camlzip (1.07-1) unstable; urgency=medium
* New upstream release (closes: #900445)
Tests: upstream
Depends: libzip-ocaml-dev
Depends: ocaml-nox, libzip-ocaml-dev
......@@ -3,7 +3,14 @@
set -e
cp test/* ${testdir}
cp test/*.ml ${testdir}
cd ${testdir}
ocamlc -ccopt -g -g -I +zip -o minigzip zip.cma
ocamlc -ccopt -g -g -I +zip -o minizip unix.cma zip.cma
ocamlc -g -I +zip -o testzlib zip.cma
if [ -x /usr/bin/ocamlopt ]; then
ocamlopt -ccopt -g -g -I +zip -o minigzip zip.cmxa
ocamlopt -ccopt -g -g -I +zip -o minizip unix.cmxa zip.cmxa
ocamlopt -g -I +zip -o testzlib zip.cmxa
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment