[cfe-commits] r75399 - in /cfe/trunk/test: Sema/carbon-pth.c SemaCXX/carbon.cpp SemaObjC/cocoa-pth.m SemaObjCXX/cocoa.mm

Daniel Dunbar daniel at zuster.org
Sat Jul 11 16:03:08 PDT 2009


Author: ddunbar
Date: Sat Jul 11 18:03:07 2009
New Revision: 75399

URL: http://llvm.org/viewvc/llvm-project?rev=75399&view=rev
Log:
Remove excessive use of Carbon.h / Cocoa.h in clang tests.
 - These kinds of "shotgun" tests are very slow, and do not belong in the
   regression suite. If these kinds of tests are regarded to have value, they
   should be added to the LLVM test-suite.

 - I would actually like to remove all of these tests, but I left Sema/carbon.c
   and SemaObjC/cocoa.m...

Removed:
    cfe/trunk/test/Sema/carbon-pth.c
    cfe/trunk/test/SemaCXX/carbon.cpp
    cfe/trunk/test/SemaObjC/cocoa-pth.m
    cfe/trunk/test/SemaObjCXX/cocoa.mm

Removed: cfe/trunk/test/Sema/carbon-pth.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/carbon-pth.c?rev=75398&view=auto

==============================================================================
--- cfe/trunk/test/Sema/carbon-pth.c (original)
+++ cfe/trunk/test/Sema/carbon-pth.c (removed)
@@ -1,7 +0,0 @@
-// RUN: clang-cc -mcpu=pentium4 -emit-pth -o %t %s && 
-// RUN: clang-cc -mcpu=pentium4 -token-cache %t %s &&
-// RUN: clang-cc -mcpu=pentium4 -token-cache %t %s -E %s -o /dev/null
-#ifdef __APPLE__
-#include <Carbon/Carbon.h>
-#endif
-

Removed: cfe/trunk/test/SemaCXX/carbon.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/carbon.cpp?rev=75398&view=auto

==============================================================================
--- cfe/trunk/test/SemaCXX/carbon.cpp (original)
+++ cfe/trunk/test/SemaCXX/carbon.cpp (removed)
@@ -1,5 +0,0 @@
-// RUN: clang-cc -mcpu=pentium4 %s -fsyntax-only -print-stats
-#ifdef __APPLE__
-#include <Carbon/Carbon.h>
-#endif
-

Removed: cfe/trunk/test/SemaObjC/cocoa-pth.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/cocoa-pth.m?rev=75398&view=auto

==============================================================================
--- cfe/trunk/test/SemaObjC/cocoa-pth.m (original)
+++ cfe/trunk/test/SemaObjC/cocoa-pth.m (removed)
@@ -1,7 +0,0 @@
-// RUN: clang-cc -mcpu=pentium4 -emit-pth -o %t %s && 
-// RUN: clang-cc -mcpu=pentium4 -token-cache %t %s &&
-// RUN: clang-cc -mcpu=pentium4 -token-cache %t %s -E %s -o /dev/null
-#ifdef __APPLE__
-#include <Cocoa/Cocoa.h>
-#endif
-

Removed: cfe/trunk/test/SemaObjCXX/cocoa.mm
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjCXX/cocoa.mm?rev=75398&view=auto

==============================================================================
--- cfe/trunk/test/SemaObjCXX/cocoa.mm (original)
+++ cfe/trunk/test/SemaObjCXX/cocoa.mm (removed)
@@ -1,4 +0,0 @@
-// RUN: clang-cc -mcpu=pentium4 %s -print-stats
-#ifdef __APPLE__
-#include <Cocoa/Cocoa.h>
-#endif





More information about the cfe-commits mailing list