[PATCH] D20867: [PCH] Fix timestamp check on windows hosts.

pierre gousseau via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 2 03:34:40 PDT 2016


pgousseau added inline comments.

================
Comment at: test/PCH/include-timestamp.cpp:8
@@ +7,3 @@
+// RUN: sleep 1
+// RUN: not %clang_cc1 -include-pch %t %s 2>&1 | FileCheck -check-prefix=CHECK-TIMESTAMP %s
+
----------------
Without the sleep the test fails for me, as it seems the call to touch does not have time to take effect. It might be something specific to gnuwin32 tools on Windows I am not sure.


http://reviews.llvm.org/D20867





More information about the cfe-commits mailing list