diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2013-08-23 00:55:32 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2013-08-23 00:55:32 +0000 |
| commit | 7eff21b9994064a67f3fbae6e0aec84d6fa6210a (patch) | |
| tree | 59183f8f5a7334dfbc27d80ef47c3614340237e3 /llvm/test/Bindings/Ocaml/executionengine.ml | |
| parent | ffc12850cfd532f5879e7ac0cd456bd6e18236b7 (diff) | |
| download | bcm5719-llvm-7eff21b9994064a67f3fbae6e0aec84d6fa6210a.tar.gz bcm5719-llvm-7eff21b9994064a67f3fbae6e0aec84d6fa6210a.zip | |
[PR11606] ocaml bindings tests produce binaries in source dir
- Workaround for ocamlopt producing outputs adjacent to its source inputs, by
having the tests copy the inputs into temporary directories in the output
paths before building.
- Patch by edward-san.
llvm-svn: 189081
Diffstat (limited to 'llvm/test/Bindings/Ocaml/executionengine.ml')
| -rw-r--r-- | llvm/test/Bindings/Ocaml/executionengine.ml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/test/Bindings/Ocaml/executionengine.ml b/llvm/test/Bindings/Ocaml/executionengine.ml index f7a49bb284c..c33da626cff 100644 --- a/llvm/test/Bindings/Ocaml/executionengine.ml +++ b/llvm/test/Bindings/Ocaml/executionengine.ml @@ -1,4 +1,7 @@ -(* RUN: %ocamlopt -warn-error A llvm.cmxa llvm_target.cmxa llvm_executionengine.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 llvm_executionengine.cmxa %t.builddir/executionengine.ml -o %t * RUN: %t * XFAIL: vg_leak *) |

