[Pkg-ocaml-maint-commits] [oasis] 01/02: Fix test suite on bytecode architectures

Mehdi Dogguy mehdi at moszumanska.debian.org
Tue Nov 26 23:50:48 UTC 2013


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

mehdi pushed a commit to branch master
in repository oasis.

commit 7d59a71835f2d9e0938fef4bfcd8f8836fcbc052
Author: Mehdi Dogguy <mehdi at debian.org>
Date:   Wed Nov 27 00:44:01 2013 +0100

    Fix test suite on bytecode architectures
---
 debian/changelog                                     |  8 ++++++++
 debian/patches/fix-testsuite-on-bytecode-archs.patch | 11 +++++++++++
 debian/patches/series                                |  1 +
 3 files changed, 20 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 2264093..44a15c8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+oasis (0.3.0-2.1) UNRELEASED; urgency=low
+
+  * Team upload.
+  * Fix test suite on bytecode architectures (Closes: #718748).
+    + Add fix-testsuite-on-bytecode-archs.patch.
+
+ -- Mehdi Dogguy <mehdi at debian.org>  Wed, 27 Nov 2013 00:41:11 +0100
+
 oasis (0.3.0-2) unstable; urgency=low
 
   * update Vcs fields
diff --git a/debian/patches/fix-testsuite-on-bytecode-archs.patch b/debian/patches/fix-testsuite-on-bytecode-archs.patch
new file mode 100644
index 0000000..35ad755
--- /dev/null
+++ b/debian/patches/fix-testsuite-on-bytecode-archs.patch
@@ -0,0 +1,11 @@
+--- a/test/TestFull.ml
++++ b/test/TestFull.ml
+@@ -568,7 +568,7 @@
+              else
+                fn
+            in
+-             if OASISString.starts_with (Filename.basename fn) "lib" then
++             if OASISString.starts_with ~what:"lib" (Filename.basename fn) then
+                (* stubs library *)
+                fn :: acc
+              else if !has_ocamlopt then
diff --git a/debian/patches/series b/debian/patches/series
index 72594f1..31b722a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ fix-ocamlbuild-plugin-export.patch
 fix-ocamlbuild-deps.patch
 fixperms-debian-rules.patch
 require-ocamlbuild-for-test.patch
+fix-testsuite-on-bytecode-archs.patch

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



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