[OCaml] PR9719, PR14727: Make tests run without ocamlopt.
[oota-llvm.git] / test / Bindings / Ocaml / scalar_opts.ml
index 39913e43119d25de3be98008eb0c5e6be0783714..a4bc47f713785aa2ca66b8108e49bc4258e914de 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_scalar_opts.cmxa llvm_target.cmxa %t.builddir/scalar_opts.ml -o %t
+ * RUN: %ocamlcomp -warn-error A llvm.%cma llvm_scalar_opts.%cma llvm_target.%cma %t.builddir/scalar_opts.ml -o %t
  * RUN: %t %t.bc
  * XFAIL: vg_leak
  *)