summaryrefslogtreecommitdiff
path: root/test/symbols-leak-test.py
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2020-07-23 08:49:54 +1000
committerRan Benita <ran@unusedvar.com>2020-07-25 10:59:32 +0300
commitf0b1441f5e595ffdef553b8c40a8be0850f57b60 (patch)
tree3d56c9c4b36e4709338b2f3db2c80067722eb365 /test/symbols-leak-test.py
parentddd1188d971283e6cbcd7bcf8cbc056a75b91ced (diff)
downloadxorg-lib-libxkbcommon-f0b1441f5e595ffdef553b8c40a8be0850f57b60.tar.gz
test: make the symbols-leak-test executable
Python leaks like crazy when run under valgrind. But if we make the script executable **and** it has uses the env invocation (i.e. #!/usr/bin/env python3), the leaks disappear. This is not the case for a shebang of /usr/bin/python3. Why exactly this is the case I'm not sure but executables we plan to run should have the exec bit set. So this is a janitor patch with the nice side effect of fixing our valgrind runs. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'test/symbols-leak-test.py')
-rwxr-xr-x[-rw-r--r--]test/symbols-leak-test.py0
1 files changed, 0 insertions, 0 deletions
diff --git a/test/symbols-leak-test.py b/test/symbols-leak-test.py
index a395079..a395079 100644..100755
--- a/test/symbols-leak-test.py
+++ b/test/symbols-leak-test.py