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

mehdi pushed a commit to branch master
in repository opam.

commit 35f231d1deb82778c594a6dbc0a579b52e59e3e0
Author: Mehdi Dogguy <me...@debian.org>
Date:   Tue Jul 21 01:06:07 2015 +0000

    Run tests at build time
---
 debian/changelog | 2 ++
 debian/control   | 2 ++
 debian/rules     | 3 ++-
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index ea0b8c0..57da02e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ opam (1.2.2-1) UNRELEASED; urgency=medium
     - Requires libcmdliner-ocaml-dev (>= 0.9.7)
   * Use upstream's makefile based build system instead of crafting our
     own one.
+  * Run package tests at build-time (Closes: #766487)
+    - New Build-Dependencies: rsync and unzip.
 
  -- Mehdi Dogguy <me...@debian.org>  Mon, 20 Jul 2015 01:41:30 +0000
 
diff --git a/debian/control b/debian/control
index 9ed9c23..7a6221b 100644
--- a/debian/control
+++ b/debian/control
@@ -17,6 +17,8 @@ Build-Depends:
  libextlib-ocaml-dev,
  libocamlgraph-ocaml-dev (>= 1.8),
  libjsonm-ocaml-dev,
+ rsync,
+ unzip,
  curl
 Build-Depends-Indep:
  texlive-latex-base,
diff --git a/debian/rules b/debian/rules
index 49fd6ac..0e8a807 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,7 +24,8 @@ endif
 
 .PHONY: override_dh_auto_test
 override_dh_auto_test:
-       true
+       $(MAKE) opam-check # Needed to run some tests
+       $(MAKE) -C tests local
 
 .PHONY: override_dh_auto_install
 override_dh_auto_install:

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

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to