[OCaml] Do not use -warn-error in tests.
[oota-llvm.git] / test / Bindings / OCaml / transform_utils.ml
index 6b46df173b08918b8b59d7be25720ddd371843a4..dc14effc57ef51d2adbe20bcb8e5364e1c7060a6 100644 (file)
@@ -1,7 +1,7 @@
 (* RUN: cp %s %T/transform_utils.ml
- * RUN: %ocamlc -g -warn-error A -package llvm.transform_utils -linkpkg %T/transform_utils.ml -o %t
+ * RUN: %ocamlc -g -w +A -package llvm.transform_utils -linkpkg %T/transform_utils.ml -o %t
  * RUN: %t
- * RUN: %ocamlopt -g -warn-error A -package llvm.transform_utils -linkpkg %T/transform_utils.ml -o %t
+ * RUN: %ocamlopt -g -w +A -package llvm.transform_utils -linkpkg %T/transform_utils.ml -o %t
  * RUN: %t
  * XFAIL: vg_leak
  *)