[cfe-commits] r98827 - /cfe/trunk/test/PCH/changed-files.c

Daniel Dunbar daniel at zuster.org
Thu Mar 25 08:56:29 PDT 2010


I would recommend using
RUN: false
XFAIL: *
so that the test shows up in the XFAIL lists.

 - Daniel

On Thu, Mar 18, 2010 at 8:37 AM, Douglas Gregor <dgregor at apple.com> wrote:
> Author: dgregor
> Date: Thu Mar 18 10:37:47 2010
> New Revision: 98827
>
> URL: http://llvm.org/viewvc/llvm-project?rev=98827&view=rev
> Log:
> Defang
>
> Modified:
>    cfe/trunk/test/PCH/changed-files.c
>
> Modified: cfe/trunk/test/PCH/changed-files.c
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/changed-files.c?rev=98827&r1=98826&r2=98827&view=diff
> ==============================================================================
> --- cfe/trunk/test/PCH/changed-files.c (original)
> +++ cfe/trunk/test/PCH/changed-files.c Thu Mar 18 10:37:47 2010
> @@ -5,21 +5,22 @@
>  // 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
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>




More information about the cfe-commits mailing list