diff options
author | Haojian Wu <hokein@google.com> | 2016-04-27 16:39:42 +0000 |
---|---|---|
committer | Haojian Wu <hokein@google.com> | 2016-04-27 16:39:42 +0000 |
commit | 8eb70bc6257a70781f97c0b9452841ec6788086a (patch) | |
tree | ef2ddc880af4433bf5b0e06247ad985c3e4a9f2a /clang-tools-extra/test/clang-tidy/explain-checks.cpp | |
parent | a16ef7633b01bfe7078c7a3f43cea46ce1d1bef3 (diff) | |
download | bcm5719-llvm-8eb70bc6257a70781f97c0b9452841ec6788086a.tar.gz bcm5719-llvm-8eb70bc6257a70781f97c0b9452841ec6788086a.zip |
Fix explain-check failure test on Windows.
llvm-svn: 267736
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/explain-checks.cpp')
-rw-r--r-- | clang-tools-extra/test/clang-tidy/explain-checks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/test/clang-tidy/explain-checks.cpp b/clang-tools-extra/test/clang-tidy/explain-checks.cpp index fb80ae0f49d..9bff30c2090 100644 --- a/clang-tools-extra/test/clang-tidy/explain-checks.cpp +++ b/clang-tools-extra/test/clang-tidy/explain-checks.cpp @@ -3,7 +3,7 @@ // RUN: clang-tidy -checks=modernize-use-nullptr -config="{Checks: '-*,modernize-use-nullptr'}" -explain-config | FileCheck --check-prefix=CHECK-MESSAGE3 %s // RUN: clang-tidy -checks=modernize-use-nullptr -config="{Checks: '-*,-modernize-use-nullptr'}" %S/Inputs/explain-config/a.cc -explain-config -- | FileCheck --check-prefix=CHECK-MESSAGE4 %s // RUN: clang-tidy -checks=modernize-use-nullptr -config="{Checks: '-*,modernize-*'}" -explain-config | FileCheck --check-prefix=CHECK-MESSAGE5 %s -// RUN: clang-tidy -explain-config %S/Inputs/explain-config/a.cc -- | grep "'modernize-use-nullptr' is enabled in the %S/Inputs/explain-config/.clang-tidy." +// RUN: clang-tidy -explain-config %S/Inputs/explain-config/a.cc -- | grep "'modernize-use-nullptr' is enabled in the .*[/\\]Inputs[/\\]explain-config[/\\].clang-tidy." // CHECK-MESSAGE1: 'modernize-use-nullptr' is enabled in the command-line option '-checks'. // CHECK-MESSAGE2: 'modernize-use-nullptr' is enabled in the command-line option '-config'. |