[cfe-commits] r75271 - in /cfe/trunk/utils: ABITest/ABITestGen.py CaptureCmd CmpDriver FindSpecRefs SummarizeErrors test/MultiTestRunner.py test/ProgressBar.py test/TestRunner.py
Eli Friedman
eli.friedman at gmail.com
Fri Jul 10 13:15:12 PDT 2009
Author: efriedma
Date: Fri Jul 10 15:15:12 2009
New Revision: 75271
URL: http://llvm.org/viewvc/llvm-project?rev=75271&view=rev
Log:
Use /usr/bin/env trick to find python. Patch by Krister Walfridsson.
Modified:
cfe/trunk/utils/ABITest/ABITestGen.py
cfe/trunk/utils/CaptureCmd
cfe/trunk/utils/CmpDriver
cfe/trunk/utils/FindSpecRefs
cfe/trunk/utils/SummarizeErrors
cfe/trunk/utils/test/MultiTestRunner.py
cfe/trunk/utils/test/ProgressBar.py
cfe/trunk/utils/test/TestRunner.py
Modified: cfe/trunk/utils/ABITest/ABITestGen.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ABITest/ABITestGen.py?rev=75271&r1=75270&r2=75271&view=diff
==============================================================================
--- cfe/trunk/utils/ABITest/ABITestGen.py (original)
+++ cfe/trunk/utils/ABITest/ABITestGen.py Fri Jul 10 15:15:12 2009
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
from pprint import pprint
import random, atexit, time
Modified: cfe/trunk/utils/CaptureCmd
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/CaptureCmd?rev=75271&r1=75270&r2=75271&view=diff
==============================================================================
--- cfe/trunk/utils/CaptureCmd (original)
+++ cfe/trunk/utils/CaptureCmd Fri Jul 10 15:15:12 2009
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
"""CaptureCmd - A generic tool for capturing information about the
invocations of another program.
Modified: cfe/trunk/utils/CmpDriver
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/CmpDriver?rev=75271&r1=75270&r2=75271&view=diff
==============================================================================
--- cfe/trunk/utils/CmpDriver (original)
+++ cfe/trunk/utils/CmpDriver Fri Jul 10 15:15:12 2009
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import subprocess
Modified: cfe/trunk/utils/FindSpecRefs
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/FindSpecRefs?rev=75271&r1=75270&r2=75271&view=diff
==============================================================================
--- cfe/trunk/utils/FindSpecRefs (original)
+++ cfe/trunk/utils/FindSpecRefs Fri Jul 10 15:15:12 2009
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import os
import re
Modified: cfe/trunk/utils/SummarizeErrors
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/SummarizeErrors?rev=75271&r1=75270&r2=75271&view=diff
==============================================================================
--- cfe/trunk/utils/SummarizeErrors (original)
+++ cfe/trunk/utils/SummarizeErrors Fri Jul 10 15:15:12 2009
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import os, sys, re
Modified: cfe/trunk/utils/test/MultiTestRunner.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/test/MultiTestRunner.py?rev=75271&r1=75270&r2=75271&view=diff
==============================================================================
--- cfe/trunk/utils/test/MultiTestRunner.py (original)
+++ cfe/trunk/utils/test/MultiTestRunner.py Fri Jul 10 15:15:12 2009
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
"""
MultiTestRunner - Harness for running multiple tests in the simple clang style.
Modified: cfe/trunk/utils/test/ProgressBar.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/test/ProgressBar.py?rev=75271&r1=75270&r2=75271&view=diff
==============================================================================
--- cfe/trunk/utils/test/ProgressBar.py (original)
+++ cfe/trunk/utils/test/ProgressBar.py Fri Jul 10 15:15:12 2009
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Source: http://code.activestate.com/recipes/475116/, with
# modifications by Daniel Dunbar.
Modified: cfe/trunk/utils/test/TestRunner.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/test/TestRunner.py?rev=75271&r1=75270&r2=75271&view=diff
==============================================================================
--- cfe/trunk/utils/test/TestRunner.py (original)
+++ cfe/trunk/utils/test/TestRunner.py Fri Jul 10 15:15:12 2009
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# TestRunner.py - This script is used to run arbitrary unit tests. Unit
# tests must contain the command used to run them in the input file, starting
More information about the cfe-commits
mailing list