diff options
author | Reid Kleckner <rnk@google.com> | 2015-08-14 19:03:02 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2015-08-14 19:03:02 +0000 |
commit | 397a17bfeb9f60a94c1053e70ecd75b45e7599d5 (patch) | |
tree | 4d73aff6072d584aaafbcf110e45f6514494f367 /clang/test/Modules/explicit-build-missing-files.cpp | |
parent | f9a2b1236145f037850eb114b87d11c416ca6c35 (diff) | |
download | bcm5719-llvm-397a17bfeb9f60a94c1053e70ecd75b45e7599d5.tar.gz bcm5719-llvm-397a17bfeb9f60a94c1053e70ecd75b45e7599d5.zip |
Don't run explicit-modules-missing-files.cpp on Windows
It is flaky due to inability to remove files with open handles. We
could paper over it with rm -f, but then the file would still be
present.
This is more evidence to me that we should roll our own 'rm'
implementation in LLVM.
llvm-svn: 245083
Diffstat (limited to 'clang/test/Modules/explicit-build-missing-files.cpp')
-rw-r--r-- | clang/test/Modules/explicit-build-missing-files.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Modules/explicit-build-missing-files.cpp b/clang/test/Modules/explicit-build-missing-files.cpp index 8d5b94e7bfe..ff79a116e6b 100644 --- a/clang/test/Modules/explicit-build-missing-files.cpp +++ b/clang/test/Modules/explicit-build-missing-files.cpp @@ -27,6 +27,9 @@ // RUN: rm %t/a.h // RUN: %clang_cc1 -fmodules -I %t -fmodule-file=%t/a.pcm %s -verify +// Oftentimes on Windows there are open handles, and deletion will fail. +// REQUIRES: can-remove-opened-file + #include "a.h" // expected-error {{file not found}} int x = b; |