From bc5679eaff576da9475808bc04935b9c25cd32b4 Mon Sep 17 00:00:00 2001 From: Matthew Voss Date: Wed, 28 Nov 2018 22:16:18 +0000 Subject: Ensure that test clang-tidy/export-relpath.cpp works with Windows path separators. llvm-svn: 347815 --- clang-tools-extra/test/clang-tidy/export-relpath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang-tools-extra/test/clang-tidy/export-relpath.cpp') diff --git a/clang-tools-extra/test/clang-tidy/export-relpath.cpp b/clang-tools-extra/test/clang-tidy/export-relpath.cpp index 872830d42e9..5bfd41fae98 100644 --- a/clang-tools-extra/test/clang-tidy/export-relpath.cpp +++ b/clang-tools-extra/test/clang-tidy/export-relpath.cpp @@ -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. -- cgit v1.2.3