Mesa (master): glsl: remove execute bit and shebang from python tests

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Aug 23 12:06:31 UTC 2018


Module: Mesa
Branch: master
Commit: 48820ed8da0ad50d51a58f26e156d82b685492e2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=48820ed8da0ad50d51a58f26e156d82b685492e2

Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Fri Aug 17 11:41:25 2018 +0100

glsl: remove execute bit and shebang from python tests

Just like the rest of the tree - these should be run either as part of
the build system check target, or at the very least with an explicitly
versioned python executable.

Fixes: db8cd8e3677 ("glcpp/tests: Convert shell scripts to a python script")
Fixes: 97c28cb0823 ("glsl/tests: Convert optimization-test.sh to pure python")
Fixes: 3b52d292273 ("glsl/tests: reimplement warnings-test in python")
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>

---

 src/compiler/glsl/glcpp/tests/glcpp_test.py  | 1 -
 src/compiler/glsl/tests/optimization_test.py | 1 -
 src/compiler/glsl/tests/warnings_test.py     | 1 -
 3 files changed, 3 deletions(-)

diff --git a/src/compiler/glsl/glcpp/tests/glcpp_test.py b/src/compiler/glsl/glcpp/tests/glcpp_test.py
old mode 100755
new mode 100644
index 1481eed618..b024300522
--- a/src/compiler/glsl/glcpp/tests/glcpp_test.py
+++ b/src/compiler/glsl/glcpp/tests/glcpp_test.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python2
 # encoding=utf-8
 # Copyright © 2018 Intel Corporation
 
diff --git a/src/compiler/glsl/tests/optimization_test.py b/src/compiler/glsl/tests/optimization_test.py
old mode 100755
new mode 100644
index b3147ed08f..15ca3216f4
--- a/src/compiler/glsl/tests/optimization_test.py
+++ b/src/compiler/glsl/tests/optimization_test.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # encoding=utf-8
 # Copyright © 2018 Intel Corporation
 
diff --git a/src/compiler/glsl/tests/warnings_test.py b/src/compiler/glsl/tests/warnings_test.py
old mode 100755
new mode 100644
index 2e0f23180f..2c4fa5a0d5
--- a/src/compiler/glsl/tests/warnings_test.py
+++ b/src/compiler/glsl/tests/warnings_test.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # encoding=utf-8
 # Copyright © 2017 Intel Corporation
 




More information about the mesa-commit mailing list