Author: chapuni Date: Thu Aug 20 10:04:32 2015 New Revision: 245565 URL: http://llvm.org/viewvc/llvm-project?rev=245565&view=rev Log: clang-tools-extra/test/lit.cfg: Prune an obsolete feature, python27. Now we requires python>=2.7.
clang-tools-extra/test/clang-tidy/clang-tidy-diff.cpp was the only user. Modified: clang-tools-extra/trunk/test/clang-tidy/clang-tidy-diff.cpp clang-tools-extra/trunk/test/lit.cfg Modified: clang-tools-extra/trunk/test/clang-tidy/clang-tidy-diff.cpp URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/clang-tidy-diff.cpp?rev=245565&r1=245564&r2=245565&view=diff ============================================================================== --- clang-tools-extra/trunk/test/clang-tidy/clang-tidy-diff.cpp (original) +++ clang-tools-extra/trunk/test/clang-tidy/clang-tidy-diff.cpp Thu Aug 20 10:04:32 2015 @@ -1,4 +1,3 @@ -// REQUIRES: python27 // RUN: sed 's/placeholder_for_f/f/' %s > %t.cpp // RUN: clang-tidy -checks=-*,misc-use-override %t.cpp -- -std=c++11 | FileCheck -check-prefix=CHECK-SANITY %s // RUN: not diff -U0 %s %t.cpp | %python %S/../../clang-tidy/tool/clang-tidy-diff.py -checks=-*,misc-use-override -- -std=c++11 2>&1 | FileCheck %s Modified: clang-tools-extra/trunk/test/lit.cfg URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/lit.cfg?rev=245565&r1=245564&r2=245565&view=diff ============================================================================== --- clang-tools-extra/trunk/test/lit.cfg (original) +++ clang-tools-extra/trunk/test/lit.cfg Thu Aug 20 10:04:32 2015 @@ -189,8 +189,3 @@ if platform.system() not in ['Windows']: config.available_features.add('ansi-escape-sequences') config.substitutions.append( ('%python', config.python_executable) ) - -import sys -# Scripts using argparse need Python 2.7. -if sys.version_info >= (2, 7): - config.available_features.add('python27') _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits