]> granicus.if.org Git - clang/commitdiff
Clean up the CMake test execution by nuking this directory before we try
authorChandler Carruth <chandlerc@gmail.com>
Wed, 23 Feb 2011 23:52:14 +0000 (23:52 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 23 Feb 2011 23:52:14 +0000 (23:52 +0000)
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

test/Frontend/dependency-gen.c

index 75b9dd4485e7e3bdbdfc0cc72701b869394def64..c008321e5e6c23657c78f466b930f2844fbee428 100644 (file)
@@ -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