[OCaml] Run tests twice, with ocamlc and ocamlopt (if available)
[oota-llvm.git] / test / Bindings / OCaml / executionengine.ml
index 9f1b74f8ee09e726d287a1b9ee550e6a7483fcfc..893f98887645a65029c15630892582832dc0fe74 100644 (file)
@@ -1,5 +1,7 @@
 (* RUN: cp %s %T/executionengine.ml
- * RUN: %ocamlcomp -g -warn-error A -package llvm.executionengine -linkpkg %T/executionengine.ml -o %t
+ * RUN: %ocamlc -g -warn-error A -package llvm.executionengine -linkpkg %T/executionengine.ml -o %t
+ * RUN: %t
+ * RUN: %ocamlopt -g -warn-error A -package llvm.executionengine -linkpkg %T/executionengine.ml -o %t
  * RUN: %t
  * REQUIRES: native, object-emission
  * XFAIL: vg_leak