summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-03-11 19:19:59 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-03-11 19:19:59 +0000
commit94d2b228e511f29d299e724a7aa5bbff4cca713d (patch)
tree99a584c575e884e41e3fa1fc73c1ad239fed2040 /dev-ml/ocaml-expat/files
parentInitial import. Thanks Renato Caldas <seventhguardian@gmail.com> for his init... (diff)
downloadhistorical-94d2b228e511f29d299e724a7aa5bbff4cca713d.tar.gz
historical-94d2b228e511f29d299e724a7aa5bbff4cca713d.tar.bz2
historical-94d2b228e511f29d299e724a7aa5bbff4cca713d.zip
Disable broken test that needs a non existant file, add ounit dep for tests, bug #212961, test native code version too, allow to build without ocamlopt, keyword ~amd64
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-ml/ocaml-expat/files')
-rw-r--r--dev-ml/ocaml-expat/files/ocaml-expat-0.9.1-test.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-ml/ocaml-expat/files/ocaml-expat-0.9.1-test.patch b/dev-ml/ocaml-expat/files/ocaml-expat-0.9.1-test.patch
new file mode 100644
index 000000000000..cbed5cbf2da0
--- /dev/null
+++ b/dev-ml/ocaml-expat/files/ocaml-expat-0.9.1-test.patch
@@ -0,0 +1,35 @@
+Index: ocaml-expat-0.9.1/Makefile
+===================================================================
+--- ocaml-expat-0.9.1.orig/Makefile
++++ ocaml-expat-0.9.1/Makefile
+@@ -67,7 +67,7 @@ doc: FORCE
+ testall: test testopt
+ .PHONY: test
+ test: unittest
+- ./unittest
++ LD_LIBRARY_PATH=. ./unittest
+ .PHONY: testopt
+ testopt: unittest.opt
+ ./unittest.opt
+Index: ocaml-expat-0.9.1/unittest.ml
+===================================================================
+--- ocaml-expat-0.9.1.orig/unittest.ml
++++ ocaml-expat-0.9.1/unittest.ml
+@@ -497,7 +497,7 @@ let suite = "expat" >:::
+ something obviously wrong. *)
+ loop do_stuff 10
+ );
+-
++(*
+ "another garbage collection test" >::
+ (fun _ ->
+ let parse _ =
+@@ -530,7 +530,7 @@ let suite = "expat" >:::
+ close_in xml_spec
+ in
+ loop parse 10
+- );
++ );*)
+ ];;
+
+ let _ =