Author: hokein
Date: Wed Apr 27 08:23:39 2016
New Revision: 267711

URL: http://llvm.org/viewvc/llvm-project?rev=267711&view=rev
Log:
Remove explain-config testcase that detect hard-coded check.

Remove it for now, we need to better way to figure out how to test it.

Modified:
    clang-tools-extra/trunk/test/clang-tidy/explain-checks.cpp

Modified: clang-tools-extra/trunk/test/clang-tidy/explain-checks.cpp
URL: 
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/explain-checks.cpp?rev=267711&r1=267710&r2=267711&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/explain-checks.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/explain-checks.cpp Wed Apr 27 
08:23:39 2016
@@ -3,7 +3,6 @@
 // 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 -config="{Checks: 'modernize-use-nullptr'}" -explain-config 
| FileCheck --check-prefix=CHECK-MESSAGE6 %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."
 
 // CHECK-MESSAGE1: 'modernize-use-nullptr' is enabled in the command-line 
option '-checks'.
@@ -11,4 +10,3 @@
 // CHECK-MESSAGE3: 'modernize-use-nullptr' is enabled in the command-line 
option '-checks'.
 // CHECK-MESSAGE4: 'modernize-use-nullptr' is enabled in the command-line 
option '-checks'.
 // CHECK-MESSAGE5: 'modernize-use-nullptr' is enabled in the command-line 
option '-checks'.
-// CHECK-MESSAGE6: 'clang-analyzer-unix.API' is enabled in the clang-tidy 
binary.


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to