Author: dyung
Date: Wed Apr 18 16:58:05 2018
New Revision: 330305
URL: http://llvm.org/viewvc/llvm-project?rev=330305&view=rev
Log:
Fix test from r330245 on Windows.
Modified:
clang-tools-extra/trunk/test/clang-tidy/read_file_config.cpp
Modified: clang-tools-extra/trunk/test/clang-tidy/read_file_config.cpp
URL:
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/read_file_config.cpp?rev=330305&r1=330304&r2=330305&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/read_file_config.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/read_file_config.cpp Wed Apr 18
16:58:05 2018
@@ -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\]$"
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits