aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-03-18 15:37:47 +0000
committerDouglas Gregor <dgregor@apple.com>2010-03-18 15:37:47 +0000
commitcb448d571b03146852d8499b3052d7dc915ec0ef (patch)
tree123b51302948b8de0d597307566678558bdc3f8c
parent4807231938d8aff28de09f78f301f9ba5845e5e4 (diff)
Defang
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98827 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/PCH/changed-files.c27
1 files changed, 14 insertions, 13 deletions
diff --git a/test/PCH/changed-files.c b/test/PCH/changed-files.c
index 5416590b97..dd08bddd75 100644
--- a/test/PCH/changed-files.c
+++ b/test/PCH/changed-files.c
@@ -5,21 +5,22 @@ const char *s2 = m0;
// FIXME: This test fails inexplicably on Windows in a manner that makes it
// look like standard error isn't getting flushed properly.
-// RUN: echo '#define m0 ""' > %t.h
-// RUN: %clang_cc1 -emit-pch -o %t.h.pch %t.h
-// RUN: echo '' > %t.h
-// RUN: not %clang_cc1 -include-pch %t.h.pch %s 2> %t.stderr
+// RUN: true
+// RUNx: echo '#define m0 ""' > %t.h
+// RUNx: %clang_cc1 -emit-pch -o %t.h.pch %t.h
+// RUNx: echo '' > %t.h
+// RUNx: not %clang_cc1 -include-pch %t.h.pch %s 2> %t.stderr
// RUNx: grep "modified" %t.stderr
-// RUN: echo '#define m0 000' > %t.h
-// RUN: %clang_cc1 -emit-pch -o %t.h.pch %t.h
-// RUN: echo '' > %t.h
-// RUN: not %clang_cc1 -include-pch %t.h.pch %s 2> %t.stderr
+// RUNx: echo '#define m0 000' > %t.h
+// RUNx: %clang_cc1 -emit-pch -o %t.h.pch %t.h
+// RUNx: echo '' > %t.h
+// RUNx: not %clang_cc1 -include-pch %t.h.pch %s 2> %t.stderr
// RUNx: grep "modified" %t.stderr
-// RUN: echo '#define m0 000' > %t.h
-// RUN: echo "#define m1 'abcd'" >> %t.h
-// RUN: %clang_cc1 -emit-pch -o %t.h.pch %t.h
-// RUN: echo '' > %t.h
-// RUN: not %clang_cc1 -include-pch %t.h.pch %s 2> %t.stderr
+// RUNx: echo '#define m0 000' > %t.h
+// RUNx: echo "#define m1 'abcd'" >> %t.h
+// RUNx: %clang_cc1 -emit-pch -o %t.h.pch %t.h
+// RUNx: echo '' > %t.h
+// RUNx: not %clang_cc1 -include-pch %t.h.pch %s 2> %t.stderr
// RUNx: grep "modified" %t.stderr