From: Chandler Carruth Date: Wed, 23 Feb 2011 23:52:14 +0000 (+0000) Subject: Clean up the CMake test execution by nuking this directory before we try X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=06efbd9a87fe3f01ec9652083c1f7815ada9b605;p=clang Clean up the CMake test execution by nuking this directory before we try to create it. Lit doesn't apparently clean up test directories effectively, and so this broke randomly on subsequent runs. Also XFAIL the test on windows, as there's not much hope for these commands doing the right thing there. Paired with Nick Lewycky. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126344 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Frontend/dependency-gen.c b/test/Frontend/dependency-gen.c index 75b9dd4485..c008321e5e 100644 --- a/test/Frontend/dependency-gen.c +++ b/test/Frontend/dependency-gen.c @@ -8,6 +8,8 @@ // RUN: grep 'dependency-gen.c' %t.d // PR8974 +// XFAIL: win32 +// RUN: rm -rf %t.dir // RUN: mkdir %t.dir // RUN: echo > %t.dir/x.h // RUN: %clang -include %t.dir/x.h -MD -MF %t.d -S -x c -o %t.o %s