[clang-tools-extra] r347815 - Ensure that test clang-tidy/export-relpath.cpp works with Windows path separators.
Matthew Voss via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 28 14:16:18 PST 2018
Author: ormris
Date: Wed Nov 28 14:16:18 2018
New Revision: 347815
URL: http://llvm.org/viewvc/llvm-project?rev=347815&view=rev
Log:
Ensure that test clang-tidy/export-relpath.cpp works with Windows path separators.
Modified:
clang-tools-extra/trunk/test/clang-tidy/export-relpath.cpp
Modified: clang-tools-extra/trunk/test/clang-tidy/export-relpath.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/export-relpath.cpp?rev=347815&r1=347814&r2=347815&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/export-relpath.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/export-relpath.cpp Wed Nov 28 14:16:18 2018
@@ -1,7 +1,7 @@
// RUN: rm -rf %T/clang-tidy/export-relpath
// RUN: mkdir -p %T/clang-tidy/export-relpath/subdir
// RUN: cp %s %T/clang-tidy/export-relpath/subdir/source.cpp
-// RUN: echo '[{ "directory": "%T/clang-tidy/export-relpath/subdir", "command": "clang++ source.cpp", "file": "%T/clang-tidy/export-relpath/subdir/source.cpp"}]' > %T/clang-tidy/export-relpath/subdir/compile_commands.json
+// RUN: echo '[{ "directory": "%/T/clang-tidy/export-relpath/subdir", "command": "clang++ source.cpp", "file": "%/T/clang-tidy/export-relpath/subdir/source.cpp"}]' > %T/clang-tidy/export-relpath/subdir/compile_commands.json
//
// Check that running clang-tidy in './subdir' and storing results
// in './fixes.yaml' works as expected.
More information about the cfe-commits
mailing list