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/analysis.ml | |
parent | 1c5ffdf987fce2ea92a579c5ef5681c48a771f6b (diff) | |
download | llvm-b405bbe6648d24b0cb5b03dc43c3997ac4f50a9b.tar.gz llvm-b405bbe6648d24b0cb5b03dc43c3997ac4f50a9b.tar.bz2 llvm-b405bbe6648d24b0cb5b03dc43c3997ac4f50a9b.tar.xz |
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/analysis.ml')
-rw-r--r-- | test/Bindings/Ocaml/analysis.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Bindings/Ocaml/analysis.ml b/test/Bindings/Ocaml/analysis.ml index 29ebb92247..e830106c11 100644 --- a/test/Bindings/Ocaml/analysis.ml +++ b/test/Bindings/Ocaml/analysis.ml @@ -1,4 +1,4 @@ -(* RUN: %ocamlc -warn-error A llvm.cma llvm_analysis.cma %s -o %t 2> /dev/null +(* RUN: %ocamlopt -warn-error A llvm.cmxa llvm_analysis.cmxa %s -o %t * RUN: ./%t %t.bc *) |