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
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user