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