summaryrefslogtreecommitdiff
path: root/clang-tools-extra/test
diff options
context:
space:
mode:
authorMatthew Voss <matthew.voss@sony.com>2018-11-28 22:16:18 +0000
committerMatthew Voss <matthew.voss@sony.com>2018-11-28 22:16:18 +0000
commit7265d5bf37d5ec719235fb64ff80699e94f118c5 (patch)
tree63007bcb25801b7994a3a5c5d99e1fe394433ce0 /clang-tools-extra/test
parented0ad4ee2cda63a58cbe7d9e8442c94cfeb0ae11 (diff)
Ensure that test clang-tidy/export-relpath.cpp works with Windows path separators.
Diffstat (limited to 'clang-tools-extra/test')
-rw-r--r--clang-tools-extra/test/clang-tidy/export-relpath.cpp2
1 files changed, 1 insertions, 1 deletions
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.