[cfe-commits] r57088 - in /cfe/trunk/test/Coverage: codegen-gnu.m codegen-next.m codegen.c codegen.m objc-language-features.inc
Daniel Dunbar
daniel at zuster.org
Sat Oct 4 17:31:55 PDT 2008
Author: ddunbar
Date: Sat Oct 4 19:31:54 2008
New Revision: 57088
URL: http://llvm.org/viewvc/llvm-project?rev=57088&view=rev
Log:
Improve codegen coverage tests.
- Hit debug info generation.
- Hit both ObjC runtimes.
Added:
cfe/trunk/test/Coverage/codegen-gnu.m
cfe/trunk/test/Coverage/codegen-next.m
- copied, changed from r57086, cfe/trunk/test/Coverage/codegen.m
Removed:
cfe/trunk/test/Coverage/codegen.m
Modified:
cfe/trunk/test/Coverage/codegen.c
cfe/trunk/test/Coverage/objc-language-features.inc
Added: cfe/trunk/test/Coverage/codegen-gnu.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Coverage/codegen-gnu.m?rev=57088&view=auto
==============================================================================
--- cfe/trunk/test/Coverage/codegen-gnu.m (added)
+++ cfe/trunk/test/Coverage/codegen-gnu.m Sat Oct 4 19:31:54 2008
@@ -0,0 +1,5 @@
+// RUN: clang -fgnu-runtime -emit-llvm -o %t %s &&
+// RUN: clang -g -fgnu-runtime -emit-llvm -o %t %s
+// XFAIL
+
+#include "objc-language-features.inc"
Copied: cfe/trunk/test/Coverage/codegen-next.m (from r57086, cfe/trunk/test/Coverage/codegen.m)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Coverage/codegen-next.m?p2=cfe/trunk/test/Coverage/codegen-next.m&p1=cfe/trunk/test/Coverage/codegen.m&r1=57086&r2=57088&rev=57088&view=diff
==============================================================================
--- cfe/trunk/test/Coverage/codegen.m (original)
+++ cfe/trunk/test/Coverage/codegen-next.m Sat Oct 4 19:31:54 2008
@@ -1,5 +1,5 @@
-// RUN: clang -fnext-runtime -emit-llvm -o %t %s
-// RUN: clang -fnext-runtime -emit-llvm-bc -o %t %s
+// RUN: clang -fnext-runtime -emit-llvm -o %t %s &&
+// RUN: clang -g -fnext-runtime -emit-llvm -o %t %s
// XFAIL
#include "objc-language-features.inc"
Modified: cfe/trunk/test/Coverage/codegen.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Coverage/codegen.c?rev=57088&r1=57087&r2=57088&view=diff
==============================================================================
--- cfe/trunk/test/Coverage/codegen.c (original)
+++ cfe/trunk/test/Coverage/codegen.c Sat Oct 4 19:31:54 2008
@@ -1,4 +1,5 @@
-// RUN: clang -emit-llvm -o %t %s
-// RUN: clang -emit-llvm-bc -o %t %s
+// RUN: clang -emit-llvm -o %t %s &&
+// RUN: clang -emit-llvm-bc -o %t %s &&
+// RUN: clang -g -emit-llvm-bc -o %t %s
#include "c-language-features.inc"
Removed: cfe/trunk/test/Coverage/codegen.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Coverage/codegen.m?rev=57087&view=auto
==============================================================================
--- cfe/trunk/test/Coverage/codegen.m (original)
+++ cfe/trunk/test/Coverage/codegen.m (removed)
@@ -1,5 +0,0 @@
-// RUN: clang -fnext-runtime -emit-llvm -o %t %s
-// RUN: clang -fnext-runtime -emit-llvm-bc -o %t %s
-// XFAIL
-
-#include "objc-language-features.inc"
Modified: cfe/trunk/test/Coverage/objc-language-features.inc
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Coverage/objc-language-features.inc?rev=57088&r1=57087&r2=57088&view=diff
==============================================================================
--- cfe/trunk/test/Coverage/objc-language-features.inc (original)
+++ cfe/trunk/test/Coverage/objc-language-features.inc Sat Oct 4 19:31:54 2008
@@ -39,13 +39,11 @@
@implementation C : A
@end
-#if 0
@interface A (Cat)
@end
@implementation A (Cat)
@end
-#endif
int f0(id x) {
@synchronized(x) {
More information about the cfe-commits
mailing list