]> granicus.if.org Git - clang/commitdiff
Use Daniel's trick for XFAIL'd tests
authorDouglas Gregor <dgregor@apple.com>
Thu, 25 Mar 2010 16:40:13 +0000 (16:40 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 25 Mar 2010 16:40:13 +0000 (16:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99515 91177308-0d34-0410-b5e6-96231b3b80d8

test/PCH/changed-files.c

index dd08bddd75e7ff8510dc6c872308773db0857cde..d1b603b2f110813f1f07d6ae03b835d58d1f3bc9 100644 (file)
@@ -5,22 +5,24 @@ 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: 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: false
+// XFAIL: *
 
-// 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 ""' > %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: grep "modified" %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
+// 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
+// RUN: 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
+// RUN: grep "modified" %t.stderr