diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-22 05:53:18 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-22 05:53:18 +0000 |
| commit | b66633e9454ace4f3ec7b3d2ae8a4be244a28756 (patch) | |
| tree | 853297f876cd7d3076b346b8b8205963ab333f94 | |
| parent | 4388f0b4faf6fbac0e59334653cf60da8a869755 (diff) | |
| download | bcm5719-llvm-b66633e9454ace4f3ec7b3d2ae8a4be244a28756.tar.gz bcm5719-llvm-b66633e9454ace4f3ec7b3d2ae8a4be244a28756.zip | |
Make running these tests conditional on llvm-gcc supporting the language
of these test cases.
llvm-svn: 36328
| -rw-r--r-- | llvm/test/C++Frontend/dg.exp | 4 | ||||
| -rw-r--r-- | llvm/test/CFrontend/dg.exp | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/llvm/test/C++Frontend/dg.exp b/llvm/test/C++Frontend/dg.exp index 879685ca879..d8e89899301 100644 --- a/llvm/test/C++Frontend/dg.exp +++ b/llvm/test/C++Frontend/dg.exp @@ -1,3 +1,5 @@ load_lib llvm.exp -RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] +if [ llvm_gcc_supports c++ ] then { + RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] +} diff --git a/llvm/test/CFrontend/dg.exp b/llvm/test/CFrontend/dg.exp index 879685ca879..6675048e693 100644 --- a/llvm/test/CFrontend/dg.exp +++ b/llvm/test/CFrontend/dg.exp @@ -1,3 +1,5 @@ load_lib llvm.exp -RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] +if [ llvm_gcc_supports c ] then { + RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] +} |

