From 43556bb7f09e9af8a6ab6b4155f52526fd48992e Mon Sep 17 00:00:00 2001 From: Alexander Kornienko Date: Thu, 20 Aug 2015 17:58:07 +0000 Subject: [clang-tidy] Use a python script instead of a shell script to run clang-tidy tests. Summary: Add check_clang_tidy.py script that is functionally identical to the check_clang_tidy.py, but should also be functional on windows. I've verified that the script works on linux. Would be nice if folks using Windows could test the patch before I break windows bots ;) Reviewers: chapuni, aaron.ballman Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D12180 llvm-svn: 245583 --- clang-tools-extra/test/clang-tidy/misc-inefficient-algorithm.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'clang-tools-extra/test/clang-tidy/misc-inefficient-algorithm.cpp') diff --git a/clang-tools-extra/test/clang-tidy/misc-inefficient-algorithm.cpp b/clang-tools-extra/test/clang-tidy/misc-inefficient-algorithm.cpp index 754e4007a4e..9bc5628dabc 100644 --- a/clang-tools-extra/test/clang-tidy/misc-inefficient-algorithm.cpp +++ b/clang-tools-extra/test/clang-tidy/misc-inefficient-algorithm.cpp @@ -1,5 +1,4 @@ -// RUN: $(dirname %s)/check_clang_tidy.sh %s misc-inefficient-algorithm %t -// REQUIRES: shell +// RUN: %python %S/check_clang_tidy.py %s misc-inefficient-algorithm %t namespace std { template struct less { -- cgit v1.2.3