[Pkg-ocaml-maint-commits] [SCM] ocaml-zarith packaging branch, master, updated. debian/1.1-1-1-g922481e

Mehdi Dogguy mehdi at debian.org
Tue May 15 12:26:32 UTC 2012


The following commit has been merged in the master branch:
commit 922481e5c49b6d4515116872fa76cffd3d5f3ec8
Author: Mehdi Dogguy <mehdi at debian.org>
Date:   Tue May 15 13:58:12 2012 +0200

    Fix "make test" call: it should be "test" on native architectures and "test.b" on bytecode architectures.

diff --git a/debian/changelog b/debian/changelog
index c9c719f..2f9e61a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ocaml-zarith (1.1-2) unstable; urgency=low
+
+  * Fix "make test" call: it should be "test" on native architectures
+    and "test.b" on bytecode architectures.
+
+ -- Mehdi Dogguy <mehdi at debian.org>  Tue, 15 May 2012 13:57:32 +0200
+
 ocaml-zarith (1.1-1) unstable; urgency=low
 
   * New upstream release
diff --git a/debian/rules b/debian/rules
index a26066a..4dc7b34 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,10 +13,11 @@ endif
 
 override_dh_auto_test:
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
-	$(MAKE) test
 ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
+	$(MAKE) test
 	./test
 else
+	$(MAKE) test.b
 	CAML_LD_LIBRARY_PATH=$(CURDIR) ./test.b
 endif
 endif

-- 
ocaml-zarith packaging



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