r276335 - Disable a flaky test on Windows that uses "echo >>"

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 21 14:07:47 PDT 2016


Author: rnk
Date: Thu Jul 21 16:07:47 2016
New Revision: 276335

URL: http://llvm.org/viewvc/llvm-project?rev=276335&view=rev
Log:
Disable a flaky test on Windows that uses "echo >>"

Modified:
    cfe/trunk/test/Modules/embed-files.cpp

Modified: cfe/trunk/test/Modules/embed-files.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/embed-files.cpp?rev=276335&r1=276334&r2=276335&view=diff
==============================================================================
--- cfe/trunk/test/Modules/embed-files.cpp (original)
+++ cfe/trunk/test/Modules/embed-files.cpp Thu Jul 21 16:07:47 2016
@@ -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 ty
 #include "b.h"
 char t; // expected-error {{different type}}
 // expected-note at t.h:1 {{here}}
+




More information about the cfe-commits mailing list