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/modernize-use-nullptr-basic.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'clang-tools-extra/test/clang-tidy/modernize-use-nullptr-basic.cpp') diff --git a/clang-tools-extra/test/clang-tidy/modernize-use-nullptr-basic.cpp b/clang-tools-extra/test/clang-tidy/modernize-use-nullptr-basic.cpp index 28c5ae15213..e78c5f1a147 100644 --- a/clang-tools-extra/test/clang-tidy/modernize-use-nullptr-basic.cpp +++ b/clang-tools-extra/test/clang-tidy/modernize-use-nullptr-basic.cpp @@ -1,6 +1,5 @@ -// RUN: $(dirname %s)/check_clang_tidy.sh %s modernize-use-nullptr %t -- \ +// RUN: %python %S/check_clang_tidy.py %s modernize-use-nullptr %t -- \ // RUN: -std=c++98 -Wno-non-literal-null-conversion -// REQUIRES: shell const unsigned int g_null = 0; #define NULL 0 -- cgit v1.2.3