[cfe-commits] r169356 - /cfe/trunk/test/Analysis/html-diags.c

Richard Smith richard-llvm at metafoo.co.uk
Tue Dec 4 22:16:54 PST 2012


Author: rsmith
Date: Wed Dec  5 00:16:54 2012
New Revision: 169356

URL: http://llvm.org/viewvc/llvm-project?rev=169356&view=rev
Log:
This test used to fail forever if it failed once, because it does not clean up after itself if it failed.

Modified:
    cfe/trunk/test/Analysis/html-diags.c

Modified: cfe/trunk/test/Analysis/html-diags.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/html-diags.c?rev=169356&r1=169355&r2=169356&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/html-diags.c (original)
+++ cfe/trunk/test/Analysis/html-diags.c Wed Dec  5 00:16:54 2012
@@ -1,6 +1,6 @@
+// RUN: rm -fR %T/dir
 // RUN: mkdir %T/dir
 // RUN: %clang_cc1 -analyze -analyzer-output=html -analyzer-checker=core -o %T/dir %s
-// RUN: rm -fR %T/dir
 
 // Currently this test mainly checks that the HTML diagnostics doesn't crash
 // when handling macros will calls with macros.  We should actually validate





More information about the cfe-commits mailing list