summaryrefslogtreecommitdiff
path: root/dev-ml/ocamlbuild/files/ocamlbuild-0.14.0-Disable-tests-failing-with-OCaml-4.08.0.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/ocamlbuild/files/ocamlbuild-0.14.0-Disable-tests-failing-with-OCaml-4.08.0.patch')
-rw-r--r--dev-ml/ocamlbuild/files/ocamlbuild-0.14.0-Disable-tests-failing-with-OCaml-4.08.0.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-ml/ocamlbuild/files/ocamlbuild-0.14.0-Disable-tests-failing-with-OCaml-4.08.0.patch b/dev-ml/ocamlbuild/files/ocamlbuild-0.14.0-Disable-tests-failing-with-OCaml-4.08.0.patch
new file mode 100644
index 000000000000..991f13238c05
--- /dev/null
+++ b/dev-ml/ocamlbuild/files/ocamlbuild-0.14.0-Disable-tests-failing-with-OCaml-4.08.0.patch
@@ -0,0 +1,39 @@
+From: Stephane Glondu <steph@glondu.net>
+Date: Fri, 2 Aug 2019 13:08:55 +0200
+Subject: Disable tests failing with OCaml 4.08.0
+
+---
+ testsuite/internal.ml | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/testsuite/internal.ml b/testsuite/internal.ml
+index d3c2004..a87f5e2 100644
+--- a/testsuite/internal.ml
++++ b/testsuite/internal.ml
+@@ -200,7 +200,7 @@ let () =
+ "]
+ ~targets:("src/foo.cmxs",[]) ();;
+
+-let () = test "StrictSequenceFlag"
++let _ignored () = test "StrictSequenceFlag"
+ ~options:[`no_ocamlfind; `quiet]
+ ~description:"strict_sequence tag"
+ ~tree:[T.f "hello.ml" ~content:"let () = 1; ()";
+@@ -219,7 +219,7 @@ Command exited with code 2."
+ )
+ ~targets:("hello.byte",[]) ();;
+
+-let () = test "StrictFormatsFlag"
++let _ignored () = test "StrictFormatsFlag"
+ ~options:[`no_ocamlfind; `quiet]
+ ~description:"strict_format tag"
+ ~tree:[T.f "hello.ml" ~content:"let _ = Printf.printf \"%.10s\"";
+@@ -230,7 +230,7 @@ Error: invalid format \"%.10s\": at character number 0, \
+ Command exited with code 2."
+ ~targets:("hello.byte",[]) ();;
+
+-let () = test "PrincipalFlag"
++let _ignored () = test "PrincipalFlag"
+ ~options:[`no_ocamlfind; `quiet]
+ ~description:"-principal tag"
+ ~tree:[T.f "hello.ml"