aboutsummaryrefslogtreecommitdiff
path: root/test/Bindings/Ocaml/analysis.ml
diff options
context:
space:
mode:
Diffstat (limited to 'test/Bindings/Ocaml/analysis.ml')
-rw-r--r--test/Bindings/Ocaml/analysis.ml5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Bindings/Ocaml/analysis.ml b/test/Bindings/Ocaml/analysis.ml
index 7df8e21203a9..c02645c0bce3 100644
--- a/test/Bindings/Ocaml/analysis.ml
+++ b/test/Bindings/Ocaml/analysis.ml
@@ -1,4 +1,7 @@
-(* RUN: %ocamlopt -warn-error A llvm.cmxa llvm_analysis.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_analysis.cmxa %t.builddir/analysis.ml -o %t
* RUN: %t
* XFAIL: vg_leak
*)