diff options
author | Erick Tryzelaar <idadesub@users.sourceforge.net> | 2009-09-03 23:27:31 +0000 |
---|---|---|
committer | Erick Tryzelaar <idadesub@users.sourceforge.net> | 2009-09-03 23:27:31 +0000 |
commit | b405bbe6648d24b0cb5b03dc43c3997ac4f50a9b (patch) | |
tree | 4e3c8e5aeaa947ee4158dba6c292531fe0f0edb9 /test/Bindings/Ocaml/target.ml | |
parent | 1c5ffdf987fce2ea92a579c5ef5681c48a771f6b (diff) | |
download | external_llvm-b405bbe6648d24b0cb5b03dc43c3997ac4f50a9b.zip external_llvm-b405bbe6648d24b0cb5b03dc43c3997ac4f50a9b.tar.gz external_llvm-b405bbe6648d24b0cb5b03dc43c3997ac4f50a9b.tar.bz2 |
Replace ocamlc tests with ocamlopt tests since they're less noisy.
There's a bug with ocamlc that uses "char*" instead of "const char*" for
global string variables. This causes g++ to be very noisy when linking
ocamlc programs. That's why the ocaml test used to cat to /dev/null.
ocamlopt doesn't have this problem, so we can get rid of the >/dev/null,
which may obscure some problems.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80968 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Bindings/Ocaml/target.ml')
-rw-r--r-- | test/Bindings/Ocaml/target.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Bindings/Ocaml/target.ml b/test/Bindings/Ocaml/target.ml index f7d1cbf..3c3b733 100644 --- a/test/Bindings/Ocaml/target.ml +++ b/test/Bindings/Ocaml/target.ml @@ -1,7 +1,7 @@ -(* RUN: %ocamlc -warn-error A llvm.cma llvm_target.cma %s -o %t 2> /dev/null +(* RUN: %ocamlopt -warn-error A llvm.cmxa llvm_target.cmxa %s -o %t *) -(* Note: It takes several seconds for ocamlc to link an executable with +(* Note: It takes several seconds for ocamlopt to link an executable with libLLVMCore.a, so it's better to write a big test than a bunch of little ones. *) |