[OCaml] Run tests twice, with ocamlc and ocamlopt (if available)
[oota-llvm.git] / test / Bindings / OCaml / target.ml
index e532ad55ebf3ebf6557554af79b631a066e1de41..41faefa8ea680be9315733ebc5f47457c18d2558 100644 (file)
@@ -1,5 +1,6 @@
 (* RUN: cp %s %T/target.ml
- * RUN: %ocamlcomp -g -warn-error A -package llvm.target -package llvm.all_backends -linkpkg %T/target.ml -o %t
+ * RUN: %ocamlc -g -warn-error A -package llvm.target -package llvm.all_backends -linkpkg %T/target.ml -o %t
+ * RUN: %ocamlopt -g -warn-error A -package llvm.target -package llvm.all_backends -linkpkg %T/target.ml -o %t
  * RUN: %t %t.bc
  * XFAIL: vg_leak
  *)