r374821 - [NFC] Fix ClangScanDeps/static-analyzer.c test on Windows
Jan Korous via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 14 14:06:11 PDT 2019
Author: jkorous
Date: Mon Oct 14 14:06:11 2019
New Revision: 374821
URL: http://llvm.org/viewvc/llvm-project?rev=374821&view=rev
Log:
[NFC] Fix ClangScanDeps/static-analyzer.c test on Windows
Follow-up to c5d14b5c6fa
Modified:
cfe/trunk/test/ClangScanDeps/static-analyzer.c
Modified: cfe/trunk/test/ClangScanDeps/static-analyzer.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/ClangScanDeps/static-analyzer.c?rev=374821&r1=374820&r2=374821&view=diff
==============================================================================
--- cfe/trunk/test/ClangScanDeps/static-analyzer.c (original)
+++ cfe/trunk/test/ClangScanDeps/static-analyzer.c Mon Oct 14 14:06:11 2019
@@ -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"
More information about the cfe-commits
mailing list