From: Reid Kleckner Date: Thu, 21 Jul 2016 21:07:47 +0000 (+0000) Subject: Disable a flaky test on Windows that uses "echo >>" X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5210a74872875e22571be2a41913783399c18d87;p=clang Disable a flaky test on Windows that uses "echo >>" git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@276335 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Modules/embed-files.cpp b/test/Modules/embed-files.cpp index f300558dd7..8e5a16e544 100644 --- a/test/Modules/embed-files.cpp +++ b/test/Modules/embed-files.cpp @@ -10,6 +10,10 @@ // // RUN: %clang_cc1 -fmodules -I%t -fmodules-embed-all-files %t/modulemap -fmodule-name=a -x c++ -emit-module -o %t/a.pcm // RUN: %clang_cc1 -fmodules -I%t -fmodules-embed-all-files %t/modulemap -fmodule-name=b -x c++ -emit-module -o %t/b.pcm +// FIXME: This test is flaky on Windows because attempting to delete a file +// after writing it just doesn't seem to work well, at least not in the lit +// shell. +// REQUIRES: shell // RUN: rm %t/x.h // RUN: %clang_cc1 -fmodules -I%t -fmodule-map-file=%t/modulemap -fmodule-file=%t/a.pcm -fmodule-file=%t/b.pcm %s -verify #include "a.h" @@ -19,3 +23,4 @@ char t; // expected-error {{different type}} #include "b.h" char t; // expected-error {{different type}} // expected-note@t.h:1 {{here}} +