[Piglit] [PATCH 1/2] tests: use /usr/bin/env python

Xavier Chantry chantry.xavier at gmail.com
Sun Oct 24 05:11:04 PDT 2010


This is just to have a consistent python header in all piglit python files.

Signed-off-by: Xavier Chantry <chantry.xavier at gmail.com>
---
 tests/all.tests                                |    2 +-
 tests/external-glslparser.tests                |    2 +-
 tests/glslparsertest/glsl2/gen_builtin_test.py |    2 +-
 tests/i965-gen6.tests                          |    2 +-
 tests/quick-driver.tests                       |    2 +-
 tests/quick.tests                              |    2 +-
 tests/r300.tests                               |    2 +-
 tests/r500.tests                               |    2 +-
 tests/radeon.tests                             |    2 +-
 tests/sanity.tests                             |    2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/tests/all.tests b/tests/all.tests
index bd487a7..842f718 100644
--- a/tests/all.tests
+++ b/tests/all.tests
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 # All tests that come with piglit, using default settings
 
diff --git a/tests/external-glslparser.tests b/tests/external-glslparser.tests
index 1faf914..f8ea1ac 100644
--- a/tests/external-glslparser.tests
+++ b/tests/external-glslparser.tests
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 # All tests that come with piglit, using default settings
 
diff --git a/tests/glslparsertest/glsl2/gen_builtin_test.py b/tests/glslparsertest/glsl2/gen_builtin_test.py
index bccc9d6..e1e05e3 100755
--- a/tests/glslparsertest/glsl2/gen_builtin_test.py
+++ b/tests/glslparsertest/glsl2/gen_builtin_test.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python
 
 one_parameter_110 = [
     "radians",
diff --git a/tests/i965-gen6.tests b/tests/i965-gen6.tests
index e86db45..cd1fb34 100644
--- a/tests/i965-gen6.tests
+++ b/tests/i965-gen6.tests
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Testing the Gen6 (Sandybridge) driver
diff --git a/tests/quick-driver.tests b/tests/quick-driver.tests
index dc64ede..70046e5 100644
--- a/tests/quick-driver.tests
+++ b/tests/quick-driver.tests
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
 import re
diff --git a/tests/quick.tests b/tests/quick.tests
index 8018505..b2c3212 100644
--- a/tests/quick.tests
+++ b/tests/quick.tests
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Testing drivers for Radeon hardware
diff --git a/tests/r300.tests b/tests/r300.tests
index c4f2416..0560f47 100644
--- a/tests/r300.tests
+++ b/tests/r300.tests
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Testing the r300 DRI driver
 #
diff --git a/tests/r500.tests b/tests/r500.tests
index 6fe2733..96fb2c2 100644
--- a/tests/r500.tests
+++ b/tests/r500.tests
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Testing the r500 DRI driver
 #
diff --git a/tests/radeon.tests b/tests/radeon.tests
index a335b16..d8a7592 100644
--- a/tests/radeon.tests
+++ b/tests/radeon.tests
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Testing drivers for Radeon hardware
 #
diff --git a/tests/sanity.tests b/tests/sanity.tests
index 6943221..13c65b7 100644
--- a/tests/sanity.tests
+++ b/tests/sanity.tests
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Minimal tests to check whether the installation is working
 #
-- 
1.7.3.2



More information about the Piglit mailing list