aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-18 18:45:36 +0000
committerChris Lattner <sabre@nondot.org>2009-04-18 18:45:36 +0000
commitb3dcc744b3a9898c5ac8770cfb2bae346c4bf0b5 (patch)
tree70d1ea8626dce137efce0b7c860d3340751889e1
parent5ce71c99cf00f24f876548d7f0dd0eefac47b168 (diff)
make sure to verify that the "non pch" runs worked.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69457 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/PCH/asm.c2
-rw-r--r--test/PCH/attrs.c2
-rw-r--r--test/PCH/blocks.c2
-rw-r--r--test/PCH/enum.c2
-rw-r--r--test/PCH/exprs.c2
-rw-r--r--test/PCH/functions.c2
-rw-r--r--test/PCH/line-directive.c2
-rw-r--r--test/PCH/multiple_decls.c2
-rw-r--r--test/PCH/stmts.c2
-rw-r--r--test/PCH/struct.c2
-rw-r--r--test/PCH/types.c2
-rw-r--r--test/PCH/va_arg.c2
-rw-r--r--test/PCH/variables.c2
13 files changed, 13 insertions, 13 deletions
diff --git a/test/PCH/asm.c b/test/PCH/asm.c
index 135abc1796..b4201ebde8 100644
--- a/test/PCH/asm.c
+++ b/test/PCH/asm.c
@@ -1,5 +1,5 @@
// Test this without pch.
-// RUN: clang-cc -include %S/asm.h -fsyntax-only -verify %s
+// RUN: clang-cc -include %S/asm.h -fsyntax-only -verify %s &&
// Test with pch.
// RUN: clang-cc -emit-pch -o %t %S/asm.h &&
diff --git a/test/PCH/attrs.c b/test/PCH/attrs.c
index 57b92c035e..1ffb467f63 100644
--- a/test/PCH/attrs.c
+++ b/test/PCH/attrs.c
@@ -1,5 +1,5 @@
// Test this without pch.
-// RUN: clang-cc -include %S/attrs.h -fsyntax-only -verify %s
+// RUN: clang-cc -include %S/attrs.h -fsyntax-only -verify %s &&
// Test with pch.
// RUN: clang-cc -emit-pch -o %t %S/attrs.h &&
diff --git a/test/PCH/blocks.c b/test/PCH/blocks.c
index 27286b1961..f3efc8ac4b 100644
--- a/test/PCH/blocks.c
+++ b/test/PCH/blocks.c
@@ -1,5 +1,5 @@
// Test this without pch.
-// RUN: clang-cc -fblocks -include %S/blocks.h -fsyntax-only -emit-llvm -o - %s
+// RUN: clang-cc -fblocks -include %S/blocks.h -fsyntax-only -emit-llvm -o - %s &&
// Test with pch.
// RUN: clang-cc -emit-pch -fblocks -o %t %S/blocks.h &&
diff --git a/test/PCH/enum.c b/test/PCH/enum.c
index f3e8a09d93..45b0491c6f 100644
--- a/test/PCH/enum.c
+++ b/test/PCH/enum.c
@@ -1,5 +1,5 @@
// Test this without pch.
-// RUN: clang-cc -include %S/enum.h -fsyntax-only -verify %s
+// RUN: clang-cc -include %S/enum.h -fsyntax-only -verify %s &&
// Test with pch.
// RUN: clang-cc -emit-pch -o %t %S/enum.h &&
diff --git a/test/PCH/exprs.c b/test/PCH/exprs.c
index ced6d178b4..c8e6d1dc30 100644
--- a/test/PCH/exprs.c
+++ b/test/PCH/exprs.c
@@ -1,5 +1,5 @@
// Test this without pch.
-// RUN: clang-cc -fblocks -include %S/exprs.h -fsyntax-only -verify %s
+// RUN: clang-cc -fblocks -include %S/exprs.h -fsyntax-only -verify %s &&
// Test with pch.
// RUN: clang-cc -emit-pch -fblocks -o %t %S/exprs.h &&
diff --git a/test/PCH/functions.c b/test/PCH/functions.c
index 9042796924..6d3c5a0f7b 100644
--- a/test/PCH/functions.c
+++ b/test/PCH/functions.c
@@ -1,5 +1,5 @@
// Test this without pch.
-// RUN: clang-cc -include %S/functions.h -fsyntax-only -verify %s
+// RUN: clang-cc -include %S/functions.h -fsyntax-only -verify %s &&
// Test with pch.
// RUN: clang-cc -emit-pch -o %t %S/functions.h &&
diff --git a/test/PCH/line-directive.c b/test/PCH/line-directive.c
index ed54842aa7..53edb3c06b 100644
--- a/test/PCH/line-directive.c
+++ b/test/PCH/line-directive.c
@@ -1,5 +1,5 @@
// Test this without pch.
-// RUN: clang-cc -include %S/line-directive.h -fsyntax-only %s 2>&1|grep "25:5"
+// RUN: clang-cc -include %S/line-directive.h -fsyntax-only %s 2>&1|grep "25:5" &&
// Test with pch.
// RUN: clang-cc -emit-pch -o %t %S/line-directive.h &&
diff --git a/test/PCH/multiple_decls.c b/test/PCH/multiple_decls.c
index f73567ed01..4b2fc6247c 100644
--- a/test/PCH/multiple_decls.c
+++ b/test/PCH/multiple_decls.c
@@ -1,5 +1,5 @@
// Test this without pch.
-// RUN: clang-cc -include %S/multiple_decls.h -fsyntax-only -ast-print -o - %s
+// RUN: clang-cc -include %S/multiple_decls.h -fsyntax-only -ast-print -o - %s &&
// Test with pch.
// RUN: clang-cc -emit-pch -o %t %S/multiple_decls.h &&
diff --git a/test/PCH/stmts.c b/test/PCH/stmts.c
index 9979d10d33..0d906f291f 100644
--- a/test/PCH/stmts.c
+++ b/test/PCH/stmts.c
@@ -1,5 +1,5 @@
// Test this without pch.
-// RUN: clang-cc -include %S/stmts.h -fsyntax-only -emit-llvm -o - %s
+// RUN: clang-cc -include %S/stmts.h -fsyntax-only -emit-llvm -o - %s &&
// Test with pch.
// RUN: clang-cc -emit-pch -o %t %S/stmts.h &&
diff --git a/test/PCH/struct.c b/test/PCH/struct.c
index 5ea9fe2757..027b303920 100644
--- a/test/PCH/struct.c
+++ b/test/PCH/struct.c
@@ -1,5 +1,5 @@
// Test this without pch.
-// RUN: clang-cc -include %S/struct.h -fsyntax-only -verify %s
+// RUN: clang-cc -include %S/struct.h -fsyntax-only -verify %s &&
// Test with pch.
// RUN: clang-cc -emit-pch -o %t %S/struct.h &&
diff --git a/test/PCH/types.c b/test/PCH/types.c
index d3ed8475fd..6463eb1d51 100644
--- a/test/PCH/types.c
+++ b/test/PCH/types.c
@@ -1,5 +1,5 @@
// Test this without pch.
-// RUN: clang-cc -fblocks -include %S/types.h -fsyntax-only -verify %s
+// RUN: clang-cc -fblocks -include %S/types.h -fsyntax-only -verify %s &&
// Test with pch.
// RUN: clang-cc -emit-pch -fblocks -o %t %S/types.h &&
diff --git a/test/PCH/va_arg.c b/test/PCH/va_arg.c
index 91c6b77a33..de0bd5f73d 100644
--- a/test/PCH/va_arg.c
+++ b/test/PCH/va_arg.c
@@ -1,5 +1,5 @@
// Test this without pch.
-// RUN: clang-cc -triple=x86_64-unknown-freebsd7.0 -include %S/va_arg.h %s -emit-llvm -o -
+// RUN: clang-cc -triple=x86_64-unknown-freebsd7.0 -include %S/va_arg.h %s -emit-llvm -o - &&
// Test with pch.
// RUN: clang-cc -triple=x86_64-unknown-freebsd7.0 -o %t %S/va_arg.h &&
diff --git a/test/PCH/variables.c b/test/PCH/variables.c
index afd45461d0..18eae60f7b 100644
--- a/test/PCH/variables.c
+++ b/test/PCH/variables.c
@@ -1,5 +1,5 @@
// Test this without pch.
-// RUN: clang-cc -include %S/variables.h -fsyntax-only -verify %s
+// RUN: clang-cc -include %S/variables.h -fsyntax-only -verify %s &&
// Test with pch.
// RUN: clang-cc -emit-pch -o %t %S/variables.h &&