aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-09-08 22:32:33 +0000
committerDouglas Gregor <dgregor@apple.com>2011-09-08 22:32:33 +0000
commite7862476445c1b217ef85e1fbb5855a18bae7bc1 (patch)
treefb63ae0e02a75fe9eda9d3a295fa97cd2caedc74
parent634c8af0805ba33b1530470e03aa314141036aa2 (diff)
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139327 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/PCH/modified-header-error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/PCH/modified-header-error.c b/test/PCH/modified-header-error.c
index 6335fb1b45..de85fe7c48 100644
--- a/test/PCH/modified-header-error.c
+++ b/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