[cfe-commits] r68204 - in /cfe/trunk/test: Sema/carbon.c SemaObjC/cocoa.m
Ted Kremenek
kremenek at apple.com
Wed Apr 1 08:28:21 PDT 2009
Author: kremenek
Date: Wed Apr 1 10:28:20 2009
New Revision: 68204
URL: http://llvm.org/viewvc/llvm-project?rev=68204&view=rev
Log:
Re-enable PTH testing for cocoa.h and carbon.h. This tests that PTH works on
real-world header files and these tests have caught serious bugs in the past.
Modified:
cfe/trunk/test/Sema/carbon.c
cfe/trunk/test/SemaObjC/cocoa.m
Modified: cfe/trunk/test/Sema/carbon.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/carbon.c?rev=68204&r1=68203&r2=68204&view=diff
==============================================================================
--- cfe/trunk/test/Sema/carbon.c (original)
+++ cfe/trunk/test/Sema/carbon.c Wed Apr 1 10:28:20 2009
@@ -1,4 +1,8 @@
-// RUN: clang-cc %s -fsyntax-only -print-stats
+// RUN: clang-cc %s -print-stats &&
+// RUN: clang-cc %s -disable-free &&
+// RUN: clang-cc -emit-pth -o %t %s &&
+// RUN: clang-cc -token-cache %t %s &&
+// RUN: clang-cc -token-cache %t %s -E %s -o /dev/null
#ifdef __APPLE__
#include <Carbon/Carbon.h>
#endif
Modified: cfe/trunk/test/SemaObjC/cocoa.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/cocoa.m?rev=68204&r1=68203&r2=68204&view=diff
==============================================================================
--- cfe/trunk/test/SemaObjC/cocoa.m (original)
+++ cfe/trunk/test/SemaObjC/cocoa.m Wed Apr 1 10:28:20 2009
@@ -1,5 +1,8 @@
// RUN: clang-cc %s -print-stats &&
-// RUN: clang-cc %s -disable-free
+// RUN: clang-cc %s -disable-free &&
+// RUN: clang-cc -emit-pth -o %t %s &&
+// RUN: clang-cc -token-cache %t %s &&
+// RUN: clang-cc -token-cache %t %s -E %s -o /dev/null
#ifdef __APPLE__
#include <Cocoa/Cocoa.h>
#endif
More information about the cfe-commits
mailing list