[OCaml] PR9719, PR14727: Make tests run without ocamlopt.
[oota-llvm.git] / test / Bindings / Ocaml / ipo_opts.ml
index e0bcbe5f561e445650215459e4e814dfa2d12190..50fc303a358470df0d20adbb11cf0845f80936a8 100644 (file)
@@ -1,7 +1,7 @@
 (* RUN: rm -rf %t.builddir
  * RUN: mkdir -p %t.builddir
  * RUN: cp %s %t.builddir
- * RUN: %ocamlopt -warn-error A llvm.cmxa llvm_ipo.cmxa llvm_target.cmxa %t.builddir/ipo_opts.ml -o %t
+ * RUN: %ocamlcomp -warn-error A llvm.%cma llvm_ipo.%cma llvm_target.%cma %t.builddir/ipo_opts.ml -o %t
  * RUN: %t %t.bc
  * XFAIL: vg_leak
  *)