projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2010b3e
)
Check if llvm-gcc is available before running tests. Patch by Matthijs Kooijman!
author
Tanya Lattner
<tonic@nondot.org>
Wed, 14 May 2008 16:32:44 +0000
(16:32 +0000)
committer
Tanya Lattner
<tonic@nondot.org>
Wed, 14 May 2008 16:32:44 +0000
(16:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51108
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/LLVMC/dg.exp
patch
|
blob
|
history
diff --git
a/test/LLVMC/dg.exp
b/test/LLVMC/dg.exp
index 22ecaecbd7ba429537f1133e972299f8e408fcd9..a2e44b99859fd2f7450a7b3c7a5ff7c860101b29 100644
(file)
--- a/
test/LLVMC/dg.exp
+++ b/
test/LLVMC/dg.exp
@@
-1,3
+1,10
@@
load_lib llvm.exp
-RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{c,cpp}]]
+if [ llvm_gcc_supports c ] then {
+ RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{c}]]
+}
+
+if [ llvm_gcc_supports c++ ] then {
+ RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{cpp}]]
+}
+