From cb448d571b03146852d8499b3052d7dc915ec0ef Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Thu, 18 Mar 2010 15:37:47 +0000 Subject: [PATCH] Defang git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98827 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/PCH/changed-files.c | 27 ++++++++++++++------------- 1 file 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