aboutsummaryrefslogtreecommitdiffstats
path: root/test/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-09-20 23:58:15 +0000
committerEric Christopher <echristo@apple.com>2011-09-20 23:58:15 +0000
commiteeef9e81802e7753236ed2087c6d7e9bcf0190cf (patch)
tree35db5385ab6c54b8c62cfdf6643b9f8d584f91ab /test/lib
parent56633441271106376b39a47bbe5b59f85144b64d (diff)
downloadexternal_llvm-eeef9e81802e7753236ed2087c6d7e9bcf0190cf.zip
external_llvm-eeef9e81802e7753236ed2087c6d7e9bcf0190cf.tar.gz
external_llvm-eeef9e81802e7753236ed2087c6d7e9bcf0190cf.tar.bz2
Remove llvm-gcc and various compiler handling from llvm. It's not needed
here anymore and has been migrated to the test-suite project. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140216 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/llvm.exp28
1 files changed, 0 insertions, 28 deletions
diff --git a/test/lib/llvm.exp b/test/lib/llvm.exp
index d92503a..b859afd 100644
--- a/test/lib/llvm.exp
+++ b/test/lib/llvm.exp
@@ -249,34 +249,6 @@ proc RunLLVMTests { test_source_files } {
}
}
-# This procedure provides an interface to check the LLVMGCC_LANGS makefile
-# variable to see if llvm-gcc supports compilation of a particular language.
-proc llvm_gcc_supports { lang } {
- global llvmgcc llvmgcc_langs
- # validate the language choices and determine the name of the compiler
- # component responsible for determining if the compiler has been built.
- switch "$lang" {
- ada { set file gnat1 }
- c { set file cc1 }
- c++ { set file cc1plus }
- objc { set file cc1obj }
- obj-c++ { set file cc1objplus }
- fortran { set file f951 }
- default { return 0 }
- }
- foreach supported_lang [split "$llvmgcc_langs" ,] {
- if { "$lang" == "$supported_lang" } {
- # FIXME: Knowing it is configured is not enough. We should do two more
- # checks here. First, we need to run llvm-gcc -print-prog-name=$file to
- # get the path to the compiler. If we don't get a path, the language isn't
- # properly configured or built. If we do get a path, we should check to
- # make sure that it is executable and perhaps even try executing it.
- return 1;
- }
- }
- return 0;
-}
-
# This procedure provides an interface to check the TARGETS_TO_BUILD makefile
# variable to see if a particular target has been configured to build. This
# helps avoid running tests for targets that aren't available.