[Piglit] [PATCH piglit] Fix redundant shebangs and executable bits.

Matěj Cepl mcepl at redhat.com
Tue Oct 18 12:41:50 PDT 2011


I think that no Python file in framework/ or tests/ should have shebang, and
tests/shaders/gen_equal_tests.py shouldn't have the executable bit set.

Signed-off-by: Matěj Cepl <mcepl at redhat.com>
---
 framework/__init__.py            |    1 -
 framework/core.py                |    1 -
 framework/exectest.py            |    1 -
 framework/gleantest.py           |    1 -
 framework/glsl_parser_test.py    |    1 -
 framework/summary.py             |    1 -
 tests/all.tests                  |    1 -
 tests/external-glslparser.tests  |    1 -
 tests/gtf.tests                  |    1 -
 tests/quick-driver.tests         |    1 -
 tests/quick.tests                |    1 -
 tests/r300.tests                 |    1 -
 tests/r500.tests                 |    1 -
 tests/r600.tests                 |    1 -
 tests/sanity.tests               |    1 -
 15 files changed, 0 insertions(+), 15 deletions(-)
 mode change 100755 => 100644 tests/shaders/gen_equal_tests.py

diff --git a/framework/__init__.py b/framework/__init__.py
index 00691e2..3cf6d82 100644
--- a/framework/__init__.py
+++ b/framework/__init__.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #
 # Permission is hereby granted, free of charge, to any person
 # obtaining a copy of this software and associated documentation
diff --git a/framework/core.py b/framework/core.py
index e6d9b4d..0bef48d 100644
--- a/framework/core.py
+++ b/framework/core.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #
 # Permission is hereby granted, free of charge, to any person
 # obtaining a copy of this software and associated documentation
diff --git a/framework/exectest.py b/framework/exectest.py
index a22fe86..88b7c85 100644
--- a/framework/exectest.py
+++ b/framework/exectest.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #
 # Permission is hereby granted, free of charge, to any person
 # obtaining a copy of this software and associated documentation
diff --git a/framework/gleantest.py b/framework/gleantest.py
index fe7c3b7..0bab36a 100644
--- a/framework/gleantest.py
+++ b/framework/gleantest.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #
 # Permission is hereby granted, free of charge, to any person
 # obtaining a copy of this software and associated documentation
diff --git a/framework/glsl_parser_test.py b/framework/glsl_parser_test.py
index 0d97986..6d08cca 100755
--- a/framework/glsl_parser_test.py
+++ b/framework/glsl_parser_test.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #
 # Permission is hereby granted, free of charge, to any person
 # obtaining a copy of this software and associated documentation
diff --git a/framework/summary.py b/framework/summary.py
index cac0254..c97ae9f 100644
--- a/framework/summary.py
+++ b/framework/summary.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #
 # Permission is hereby granted, free of charge, to any person
 # obtaining a copy of this software and associated documentation
diff --git a/tests/all.tests b/tests/all.tests
index 870bf62..f07765a 100644
--- a/tests/all.tests
+++ b/tests/all.tests
@@ -1,4 +1,3 @@
-#!/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 087807e..4e50173 100644
--- a/tests/external-glslparser.tests
+++ b/tests/external-glslparser.tests
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 # All tests that come with piglit, using default settings
 
diff --git a/tests/gtf.tests b/tests/gtf.tests
index a459a9c..cade81a 100644
--- a/tests/gtf.tests
+++ b/tests/gtf.tests
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #
 # Permission is hereby granted, free of charge, to any person
 # obtaining a copy of this software and associated documentation
diff --git a/tests/quick-driver.tests b/tests/quick-driver.tests
index adfa89d..73bee46 100644
--- a/tests/quick-driver.tests
+++ b/tests/quick-driver.tests
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
 import os.path
diff --git a/tests/quick.tests b/tests/quick.tests
index 702a69f..43eae7d 100644
--- a/tests/quick.tests
+++ b/tests/quick.tests
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Testing drivers for Radeon hardware
diff --git a/tests/r300.tests b/tests/r300.tests
index 7b40460..8dfeccb 100644
--- a/tests/r300.tests
+++ b/tests/r300.tests
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #
 # Testing the r300 DRI driver
 #
diff --git a/tests/r500.tests b/tests/r500.tests
index 7276ac2..0ea9842 100644
--- a/tests/r500.tests
+++ b/tests/r500.tests
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #
 # Testing the r500 DRI driver
 #
diff --git a/tests/r600.tests b/tests/r600.tests
index fe7426f..7d880f0 100644
--- a/tests/r600.tests
+++ b/tests/r600.tests
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 
 import os.path
 
diff --git a/tests/sanity.tests b/tests/sanity.tests
index bcab606..035cfb9 100644
--- a/tests/sanity.tests
+++ b/tests/sanity.tests
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #
 # Minimal tests to check whether the installation is working
 #
diff --git a/tests/shaders/gen_equal_tests.py b/tests/shaders/gen_equal_tests.py
old mode 100755
new mode 100644
-- 
1.7.1



More information about the Piglit mailing list