[Mesa-dev] [PATCH 1/4] glsl: remove execute bit/shebang from glcpp_test.py

Emil Velikov emil.l.velikov at gmail.com
Tue Apr 24 17:49:19 UTC 2018


From: Emil Velikov <emil.velikov at collabora.com>

Mesa explicitly manages the invocation of all python scripts.
Do so here, by removing the shebang line alongside the execute bit of
the newly introduced script.

Fixes: db8cd8e36771 ("glcpp/tests: Convert shell scripts to a python
script")
Cc: Dylan Baker <dylan at pnwbakers.com>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
Suspecting that meson should be updated to use prog_python2, just not
too sure how to handle that. Is using a custom_target() a wise move for
tests?
---
 src/compiler/glsl/glcpp/tests/glcpp_test.py | 1 -
 1 file changed, 1 deletion(-)
 mode change 100755 => 100644 src/compiler/glsl/glcpp/tests/glcpp_test.py

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 cdc63b3ac2..751bd40028
--- 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
 
-- 
2.16.0



More information about the mesa-dev mailing list