[cfe-commits] r139327 - /cfe/trunk/test/PCH/modified-header-error.c

Douglas Gregor dgregor at apple.com
Thu Sep 8 15:32:33 PDT 2011


Author: dgregor
Date: Thu Sep  8 17:32:33 2011
New Revision: 139327

URL: http://llvm.org/viewvc/llvm-project?rev=139327&view=rev
Log:
Add some delay between PCH creation and modifying one of the headers it depends on, which will---hopefully make this test predictably pass on Windows

Modified:
    cfe/trunk/test/PCH/modified-header-error.c

Modified: cfe/trunk/test/PCH/modified-header-error.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/modified-header-error.c?rev=139327&r1=139326&r2=139327&view=diff
==============================================================================
--- cfe/trunk/test/PCH/modified-header-error.c (original)
+++ cfe/trunk/test/PCH/modified-header-error.c Thu Sep  8 17:32:33 2011
@@ -3,6 +3,7 @@
 // RUN: echo > %t.dir/header2.h
 // RUN: cp %s %t.dir/t.c
 // RUN: %clang_cc1 -x c-header %t.dir/header1.h -emit-pch -o %t.pch
+// RUN: sleep 2
 // RUN: echo >> %t.dir/header2.h
 // RUN: %clang_cc1 %t.dir/t.c -include-pch %t.pch -fsyntax-only 2>&1 | FileCheck %s
 





More information about the cfe-commits mailing list