summaryrefslogtreecommitdiff
path: root/test/Bindings/Ocaml/target.ml
diff options
context:
space:
mode:
Diffstat (limited to 'test/Bindings/Ocaml/target.ml')
-rw-r--r--test/Bindings/Ocaml/target.ml5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Bindings/Ocaml/target.ml b/test/Bindings/Ocaml/target.ml
index 7a35a790ab..d2cace9264 100644
--- a/test/Bindings/Ocaml/target.ml
+++ b/test/Bindings/Ocaml/target.ml
@@ -1,4 +1,7 @@
-(* RUN: %ocamlopt -warn-error A llvm.cmxa llvm_target.cmxa %s -o %t
+(* RUN: rm -rf %t.builddir
+ * RUN: mkdir -p %t.builddir
+ * RUN: cp %s %t.builddir
+ * RUN: %ocamlopt -warn-error A llvm.cmxa llvm_target.cmxa %t.builddir/target.ml -o %t
* RUN: %t %t.bc
* XFAIL: vg_leak
*)