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 | c527d7e5a814b834aaece6e67d2447b9d2d2be5e (patch) | |
tree | 4e3c8e5aeaa947ee4158dba6c292531fe0f0edb9 /test/lib/llvm.exp | |
parent | e76bfd9f87d7255a4f0940e3a5f911e22cba7f6c (diff) | |
download | external_llvm-c527d7e5a814b834aaece6e67d2447b9d2d2be5e.zip external_llvm-c527d7e5a814b834aaece6e67d2447b9d2d2be5e.tar.gz external_llvm-c527d7e5a814b834aaece6e67d2447b9d2d2be5e.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/lib/llvm.exp')
-rw-r--r-- | test/lib/llvm.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lib/llvm.exp b/test/lib/llvm.exp index 3e2632f..eb43758 100644 --- a/test/lib/llvm.exp +++ b/test/lib/llvm.exp @@ -47,7 +47,7 @@ proc execOneLine { test PRS outcome lineno line } { # cases. proc substitute { line test tmpFile } { global srcroot objroot srcdir objdir subdir target_triplet prcontext - global llvmgcc llvmgxx llvmgcc_version llvmgccmajvers ocamlc + global llvmgcc llvmgxx llvmgcc_version llvmgccmajvers ocamlopt global gccpath gxxpath compile_c compile_cxx link shlibext llvmlibsdir global llvmdsymutil valgrind grep gas bugpoint_topts set path [file join $srcdir $subdir] @@ -71,8 +71,8 @@ proc substitute { line test tmpFile } { regsub -all {%link} $new_line "$link" new_line #replace %shlibext with shared library extension regsub -all {%shlibext} $new_line "$shlibext" new_line - #replace %ocamlc with ocaml compiler command - regsub -all {%ocamlc} $new_line "$ocamlc" new_line + #replace %ocamlopt with ocaml compiler command + regsub -all {%ocamlopt} $new_line "$ocamlopt" new_line #replace %llvmdsymutil with dsymutil command regsub -all {%llvmdsymutil} $new_line "$llvmdsymutil" new_line #replace %llvmlibsdir with configure library directory |