From e38d542d89aa5d494a879e197193814f6001dd59 Mon Sep 17 00:00:00 2001 From: Gordon Henriksen Date: Wed, 22 Oct 2008 12:41:54 +0000 Subject: [PATCH] [PR2886] Ignore stderr from ocamlc since it prints unresolvable warnings on some platforms. llvm-svn: 57976 --- llvm/test/Bindings/Ocaml/analysis.ml | 2 +- llvm/test/Bindings/Ocaml/bitreader.ml | 2 +- llvm/test/Bindings/Ocaml/bitwriter.ml | 2 +- llvm/test/Bindings/Ocaml/executionengine.ml | 2 +- llvm/test/Bindings/Ocaml/scalar_opts.ml | 2 +- llvm/test/Bindings/Ocaml/target.ml | 2 +- llvm/test/Bindings/Ocaml/vmcore.ml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/llvm/test/Bindings/Ocaml/analysis.ml b/llvm/test/Bindings/Ocaml/analysis.ml index 9c61295d455c..5a6fde8da24d 100644 --- a/llvm/test/Bindings/Ocaml/analysis.ml +++ b/llvm/test/Bindings/Ocaml/analysis.ml @@ -1,4 +1,4 @@ -(* RUN: %ocamlc -warn-error A llvm.cma llvm_analysis.cma %s -o %t +(* RUN: %ocamlc -warn-error A llvm.cma llvm_analysis.cma %s -o %t 2> /dev/null * RUN: ./%t %t.bc *) diff --git a/llvm/test/Bindings/Ocaml/bitreader.ml b/llvm/test/Bindings/Ocaml/bitreader.ml index 59f036fe2dfe..776228fc1648 100644 --- a/llvm/test/Bindings/Ocaml/bitreader.ml +++ b/llvm/test/Bindings/Ocaml/bitreader.ml @@ -1,4 +1,4 @@ -(* RUN: %ocamlc -warn-error A llvm.cma llvm_bitreader.cma llvm_bitwriter.cma %s -o %t +(* RUN: %ocamlc -warn-error A llvm.cma llvm_bitreader.cma llvm_bitwriter.cma %s -o %t 2> /dev/null * RUN: ./%t %t.bc * RUN: llvm-dis < %t.bc | grep caml_int_ty *) diff --git a/llvm/test/Bindings/Ocaml/bitwriter.ml b/llvm/test/Bindings/Ocaml/bitwriter.ml index 93e8d00cea0e..ec9dbc832997 100644 --- a/llvm/test/Bindings/Ocaml/bitwriter.ml +++ b/llvm/test/Bindings/Ocaml/bitwriter.ml @@ -1,4 +1,4 @@ -(* RUN: %ocamlc -warn-error A llvm.cma llvm_bitwriter.cma %s -o %t +(* RUN: %ocamlc -warn-error A llvm.cma llvm_bitwriter.cma %s -o %t 2> /dev/null * RUN: ./%t %t.bc * RUN: llvm-dis < %t.bc | grep caml_int_ty *) diff --git a/llvm/test/Bindings/Ocaml/executionengine.ml b/llvm/test/Bindings/Ocaml/executionengine.ml index d238076a0654..726a700f0ce3 100644 --- a/llvm/test/Bindings/Ocaml/executionengine.ml +++ b/llvm/test/Bindings/Ocaml/executionengine.ml @@ -1,4 +1,4 @@ -(* RUN: %ocamlc -warn-error A llvm.cma llvm_target.cma llvm_executionengine.cma %s -o %t +(* RUN: %ocamlc -warn-error A llvm.cma llvm_target.cma llvm_executionengine.cma %s -o %t 2> /dev/null * RUN: ./%t %t.bc *) diff --git a/llvm/test/Bindings/Ocaml/scalar_opts.ml b/llvm/test/Bindings/Ocaml/scalar_opts.ml index 7f850cbeb99f..0a65db996bb4 100644 --- a/llvm/test/Bindings/Ocaml/scalar_opts.ml +++ b/llvm/test/Bindings/Ocaml/scalar_opts.ml @@ -1,4 +1,4 @@ -(* RUN: %ocamlc -warn-error A llvm.cma llvm_scalar_opts.cma llvm_target.cma %s -o %t +(* RUN: %ocamlc -warn-error A llvm.cma llvm_scalar_opts.cma llvm_target.cma %s -o %t 2> /dev/null *) (* Note: It takes several seconds for ocamlc to link an executable with diff --git a/llvm/test/Bindings/Ocaml/target.ml b/llvm/test/Bindings/Ocaml/target.ml index 2e83b318d8e3..e6d08ed6db75 100644 --- a/llvm/test/Bindings/Ocaml/target.ml +++ b/llvm/test/Bindings/Ocaml/target.ml @@ -1,4 +1,4 @@ -(* RUN: %ocamlc -warn-error A llvm.cma llvm_target.cma %s -o %t +(* RUN: %ocamlc -warn-error A llvm.cma llvm_target.cma %s -o %t 2> /dev/null *) (* Note: It takes several seconds for ocamlc to link an executable with diff --git a/llvm/test/Bindings/Ocaml/vmcore.ml b/llvm/test/Bindings/Ocaml/vmcore.ml index 694590885de2..e8fa1b5692df 100644 --- a/llvm/test/Bindings/Ocaml/vmcore.ml +++ b/llvm/test/Bindings/Ocaml/vmcore.ml @@ -1,4 +1,4 @@ -(* RUN: %ocamlc -warn-error A llvm.cma llvm_analysis.cma llvm_bitwriter.cma %s -o %t +(* RUN: %ocamlc -warn-error A llvm.cma llvm_analysis.cma llvm_bitwriter.cma %s -o %t 2> /dev/null * RUN: ./%t %t.bc * RUN: llvm-dis < %t.bc > %t.ll *)