]> granicus.if.org Git - clang/commitdiff
Defang
authorDouglas Gregor <dgregor@apple.com>
Thu, 18 Mar 2010 15:37:47 +0000 (15:37 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 18 Mar 2010 15:37:47 +0000 (15:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98827 91177308-0d34-0410-b5e6-96231b3b80d8

test/PCH/changed-files.c

index 5416590b97e5a6e7fb5445518f83f41881c8216e..dd08bddd75e7ff8510dc6c872308773db0857cde 100644 (file)
@@ -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