summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-07-21 21:07:47 +0000
committerReid Kleckner <rnk@google.com>2016-07-21 21:07:47 +0000
commit07915f6cb050500195021d05b70817db08ecdd59 (patch)
tree3d8f2b6e7c83ffc8b7eea8ac4ee291449d2d2b01
parenta4de84604a4f93a45154f18f72b2043d2cac6914 (diff)
downloadbcm5719-llvm-07915f6cb050500195021d05b70817db08ecdd59.tar.gz
bcm5719-llvm-07915f6cb050500195021d05b70817db08ecdd59.zip
Disable a flaky test on Windows that uses "echo >>"
llvm-svn: 276335
-rw-r--r--clang/test/Modules/embed-files.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Modules/embed-files.cpp b/clang/test/Modules/embed-files.cpp
index f300558dd7f..8e5a16e5440 100644
--- a/clang/test/Modules/embed-files.cpp
+++ b/clang/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}}
+
OpenPOWER on IntegriCloud