summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bindings/Ocaml/scalar_opts.ml
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Bindings/Ocaml/scalar_opts.ml')
-rw-r--r--llvm/test/Bindings/Ocaml/scalar_opts.ml6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/test/Bindings/Ocaml/scalar_opts.ml b/llvm/test/Bindings/Ocaml/scalar_opts.ml
index 1ae4fe9d2a9..9ca53616dc4 100644
--- a/llvm/test/Bindings/Ocaml/scalar_opts.ml
+++ b/llvm/test/Bindings/Ocaml/scalar_opts.ml
@@ -1,7 +1,5 @@
-(* RUN: rm -rf %t.builddir
- * RUN: mkdir -p %t.builddir
- * RUN: cp %s %t.builddir
- * RUN: %ocamlcomp -warn-error A llvm.%cma llvm_scalar_opts.%cma llvm_target.%cma %t.builddir/scalar_opts.ml -o %t
+(* RUN: cp %s %T/scalar_opts.ml
+ * RUN: %ocamlcomp -warn-error A -package llvm.scalar_opts -linkpkg %T/scalar_opts.ml -o %t
* RUN: %t %t.bc
* XFAIL: vg_leak
*)
OpenPOWER on IntegriCloud