From 69f600ba846bf67f46bfec1b1dc0606e390ad157 Mon Sep 17 00:00:00 2001 From: Jan Korous Date: Mon, 14 Oct 2019 21:06:11 +0000 Subject: [PATCH] [NFC] Fix ClangScanDeps/static-analyzer.c test on Windows Follow-up to c5d14b5c6fa git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@374821 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/ClangScanDeps/static-analyzer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/ClangScanDeps/static-analyzer.c b/test/ClangScanDeps/static-analyzer.c index dca35039d8..c4af9b076b 100644 --- a/test/ClangScanDeps/static-analyzer.c +++ b/test/ClangScanDeps/static-analyzer.c @@ -1,12 +1,12 @@ // RUN: rm -rf %t.dir -// RUN: rm -rf %t.dir/cdb.json +// RUN: rm -rf %t-cdb.json // RUN: mkdir -p %t.dir // RUN: cp %s %t.dir/static-analyzer.c // RUN: mkdir %t.dir/Inputs // RUN: cp %S/Inputs/header.h %t.dir/Inputs/analyze_header_input.h -// RUN: sed -e "s|DIR|%t.dir|g" %S/Inputs/static-analyzer-cdb.json > %t.dir/cdb.json +// RUN: sed -e "s|DIR|%/t.dir|g" %S/Inputs/static-analyzer-cdb.json > %t-cdb.json // -// RUN: clang-scan-deps -compilation-database %t.dir/cdb.json -j 1 | FileCheck %s +// RUN: clang-scan-deps -compilation-database %t-cdb.json -j 1 | FileCheck %s #ifdef __clang_analyzer__ #include "Inputs/analyze_header_input.h" -- 2.40.0