Replace ocamlc tests with ocamlopt tests since they're less noisy.
[oota-llvm.git] / test / Bindings / Ocaml / scalar_opts.ml
index 8f6802da76559a5702f565791e8f1e3f2376d27b..0a65810105b07b5bdea1b5ba462b8c3db6d17cd7 100644 (file)
@@ -1,7 +1,7 @@
-(* RUN: %ocamlc -warn-error A llvm.cma llvm_scalar_opts.cma llvm_target.cma %s -o %t 2> /dev/null
+(* RUN: %ocamlopt -warn-error A llvm.cmxa llvm_scalar_opts.cmxa llvm_target.cmxa %s -o %t
  *)
 
-(* Note: It takes several seconds for ocamlc to link an executable with
+(* Note: It takes several seconds for ocamlopt to link an executable with
          libLLVMCore.a, so it's better to write a big test than a bunch of
          little ones. *)