From 8d9c56bb596f7f8be0879be6a23da56e45e2dbe3 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Thu, 8 Sep 2011 22:32:33 +0000 Subject: [PATCH] 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 llvm-svn: 139327 --- clang/test/PCH/modified-header-error.c | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/test/PCH/modified-header-error.c b/clang/test/PCH/modified-header-error.c index 6335fb1b4539..de85fe7c48b2 100644 --- a/clang/test/PCH/modified-header-error.c +++ b/clang/test/PCH/modified-header-error.c @@ -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