Mesa (staging/18.2): glsl: remove execute bit and shebang from python tests

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Aug 24 12:45:35 UTC 2018


Module: Mesa
Branch: staging/18.2
Commit: f6dccf66865c31b13f48b50891a9f5a0d9949b1c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6dccf66865c31b13f48b50891a9f5a0d9949b1c

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>
(cherry picked from commit 48820ed8da0ad50d51a58f26e156d82b685492e2)
[Andres Gomez: resolve trivial conflicts]
Signed-off-by: Andres Gomez <agomez at igalia.com>

Conflicts:
	src/compiler/glsl/tests/optimization_test.py

---

 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 8ac5d7cb0a..8c7552124a
--- 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 577d2dfc20..f8518a168e
--- a/src/compiler/glsl/tests/optimization_test.py
+++ b/src/compiler/glsl/tests/optimization_test.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python2
 # 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