summaryrefslogtreecommitdiffstats
path: root/clang/utils/test
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-07-10 20:15:12 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-07-10 20:15:12 +0000
commit837f574ee977b83381cb35715232f3ea3a22ca53 (patch)
tree496726b1d4f4364a63319a0496a28c1b1e007101 /clang/utils/test
parent3554b5a37c79551fc48f7322a95b817781ca6f1b (diff)
downloadbcm5719-llvm-837f574ee977b83381cb35715232f3ea3a22ca53.tar.gz
bcm5719-llvm-837f574ee977b83381cb35715232f3ea3a22ca53.zip
Use /usr/bin/env trick to find python. Patch by Krister Walfridsson.
llvm-svn: 75271
Diffstat (limited to 'clang/utils/test')
-rwxr-xr-xclang/utils/test/MultiTestRunner.py2
-rw-r--r--clang/utils/test/ProgressBar.py2
-rwxr-xr-xclang/utils/test/TestRunner.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/clang/utils/test/MultiTestRunner.py b/clang/utils/test/MultiTestRunner.py
index 6d0c14afad4..9ad8a78f3d6 100755
--- a/clang/utils/test/MultiTestRunner.py
+++ b/clang/utils/test/MultiTestRunner.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
"""
MultiTestRunner - Harness for running multiple tests in the simple clang style.
diff --git a/clang/utils/test/ProgressBar.py b/clang/utils/test/ProgressBar.py
index 2e1f24ae79a..13db7eccc91 100644
--- a/clang/utils/test/ProgressBar.py
+++ b/clang/utils/test/ProgressBar.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Source: http://code.activestate.com/recipes/475116/, with
# modifications by Daniel Dunbar.
diff --git a/clang/utils/test/TestRunner.py b/clang/utils/test/TestRunner.py
index 9020622350d..77158fd971c 100755
--- a/clang/utils/test/TestRunner.py
+++ b/clang/utils/test/TestRunner.py
@@ -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
OpenPOWER on IntegriCloud