summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/read_file_config.cpp
diff options
context:
space:
mode:
authorDouglas Yung <douglas.yung@sony.com>2018-04-18 23:58:05 +0000
committerDouglas Yung <douglas.yung@sony.com>2018-04-18 23:58:05 +0000
commit50c7db17f796fefecf1d9de1243091da7b3144ea (patch)
tree289efe89fdd5edc525d75427b0158308dae29ef9 /clang-tools-extra/test/clang-tidy/read_file_config.cpp
parent4ce0e5a892bcd313fa574898903a1034a4a07fc2 (diff)
downloadbcm5719-llvm-50c7db17f796fefecf1d9de1243091da7b3144ea.tar.gz
bcm5719-llvm-50c7db17f796fefecf1d9de1243091da7b3144ea.zip
Fix test from r330245 on Windows.
llvm-svn: 330305
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/read_file_config.cpp')
-rw-r--r--clang-tools-extra/test/clang-tidy/read_file_config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/test/clang-tidy/read_file_config.cpp b/clang-tools-extra/test/clang-tidy/read_file_config.cpp
index aacdad1cc0a..3635c214fcd 100644
--- a/clang-tools-extra/test/clang-tidy/read_file_config.cpp
+++ b/clang-tools-extra/test/clang-tidy/read_file_config.cpp
@@ -1,7 +1,7 @@
// RUN: mkdir -p %T/read-file-config/
// RUN: cp %s %T/read-file-config/test.cpp
// RUN: echo 'Checks: "-*,modernize-use-nullptr"' > %T/read-file-config/.clang-tidy
-// RUN: echo '[{"command": "cc -c -o test.o test.cpp", "directory": "%T/read-file-config", "file": "%T/read-file-config/test.cpp"}]' > %T/read-file-config/compile_commands.json
+// RUN: echo '[{"command": "cc -c -o test.o test.cpp", "directory": "%/T/read-file-config", "file": "%/T/read-file-config/test.cpp"}]' > %T/read-file-config/compile_commands.json
// RUN: clang-tidy %T/read-file-config/test.cpp | not grep "warning: .*\[clang-analyzer-deadcode.DeadStores\]$"
// RUN: clang-tidy -checks="-*,clang-analyzer-*" %T/read-file-config/test.cpp | grep "warning: .*\[clang-analyzer-deadcode.DeadStores\]$"
OpenPOWER on IntegriCloud