]> granicus.if.org Git - clang/commitdiff
Disable a flaky test on Windows that uses "echo >>"
authorReid Kleckner <rnk@google.com>
Thu, 21 Jul 2016 21:07:47 +0000 (21:07 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 21 Jul 2016 21:07:47 +0000 (21:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@276335 91177308-0d34-0410-b5e6-96231b3b80d8

test/Modules/embed-files.cpp

index f300558dd7f71ebcb81641408e5cce1f61c7f8b8..8e5a16e54400863aeb5cf748cd82a87a2b44d036 100644 (file)
 //
 // 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}}
+