From: Ilya Biryukov Date: Mon, 3 Dec 2018 11:28:17 +0000 (+0000) Subject: [Analysis] Properly prepare test env in test/Analysis/undef-call.c X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d717d389fa02b397024298d1ceb8ddf1e78ea513;p=clang [Analysis] Properly prepare test env in test/Analysis/undef-call.c The test expectes the '%T/ctudir' to be present, but does not create it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@348124 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Analysis/undef-call.c b/test/Analysis/undef-call.c index 35c0b685ce..c7aa844d79 100644 --- a/test/Analysis/undef-call.c +++ b/test/Analysis/undef-call.c @@ -1,3 +1,5 @@ +// RUN: rm -rf %T/ctudir +// RUN: mkdir %T/ctudir // RUN: %clang_cc1 -fsyntax-only -analyze -analyzer-checker=debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=%T/ctudir -verify %s // expected-no-diagnostics