[Pkg-ocaml-maint-commits] [opam] 01/02: Run testsuite only on native architectures: Testsuite uses ocamlopt unconditionally, which fails on bytecode architectures. Next upstream release might fix that.

Mehdi Dogguy mehdi at moszumanska.debian.org
Thu Jul 30 19:38:55 UTC 2015


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

mehdi pushed a commit to branch master
in repository opam.

commit d1c2254da9e05e47e9b25be84e6d93653ef2ca88
Author: Mehdi Dogguy <mehdi at debian.org>
Date:   Thu Jul 30 21:19:18 2015 +0000

    Run testsuite only on native architectures: Testsuite uses ocamlopt unconditionally, which fails on bytecode architectures. Next upstream release might fix that.
---
 debian/changelog | 8 ++++++++
 debian/rules     | 2 ++
 2 files changed, 10 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 0d1d21e..f46b76f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+opam (1.2.2-2) UNRELEASED; urgency=medium
+
+  * Run testsuite only on native architectures: Testsuite uses ocamlopt
+    unconditionally, which fails on bytecode architectures. Next upstream
+    release might fix that.
+
+ -- Mehdi Dogguy <mehdi at debian.org>  Thu, 30 Jul 2015 21:16:36 +0000
+
 opam (1.2.2-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/rules b/debian/rules
index 329a6c4..231b504 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,8 +24,10 @@ endif
 
 .PHONY: override_dh_auto_test
 override_dh_auto_test:
+ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
 	$(MAKE) opam-check # Needed to run some tests
 	$(MAKE) -C tests local
+endif
 
 .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



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