r201482 - Introduce the feature "can-remove-opened-file" to suppress tests. [PR18856]
NAKAMURA Takumi
geek4civic at gmail.com
Sun Feb 16 02:15:35 PST 2014
Author: chapuni
Date: Sun Feb 16 04:15:34 2014
New Revision: 201482
URL: http://llvm.org/viewvc/llvm-project?rev=201482&view=rev
Log:
Introduce the feature "can-remove-opened-file" to suppress tests. [PR18856]
Modified:
cfe/trunk/test/Index/crash-recovery-code-complete.c
cfe/trunk/test/lit.cfg
Modified: cfe/trunk/test/Index/crash-recovery-code-complete.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/crash-recovery-code-complete.c?rev=201482&r1=201481&r2=201482&view=diff
==============================================================================
--- cfe/trunk/test/Index/crash-recovery-code-complete.c (original)
+++ cfe/trunk/test/Index/crash-recovery-code-complete.c Sun Feb 16 04:15:34 2014
@@ -9,6 +9,6 @@
// REQUIRES: crash-recovery
// FIXME: Please investigate abnormal path in MemoryBuffer.
-// XFAIL: mingw32,win32
+// REQUIRES: can-remove-opened-file
#warning parsing original file
Modified: cfe/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/lit.cfg?rev=201482&r1=201481&r2=201482&view=diff
==============================================================================
--- cfe/trunk/test/lit.cfg (original)
+++ cfe/trunk/test/lit.cfg Sun Feb 16 04:15:34 2014
@@ -344,6 +344,11 @@ if not re.match(r'^x86_64.*-(win32|mingw
if not re.match(r'.*-(cygwin|mingw32)$', config.target_triple):
config.available_features.add('clang-driver')
+# [PR18856] Depends to remove opened file. On win32, a file could be removed
+# only if all handles were closed.
+if platform.system() not in ['Windows']:
+ config.available_features.add('can-remove-opened-file')
+
# Returns set of available features, registered-target(s) and asserts.
def get_llvm_config_props():
set_of_features = set()
More information about the cfe-commits
mailing list