aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2020-01-10 16:56:37 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2020-01-21 04:26:50 +1000
commit82f6790d5c43ca5219ea6fffd868e58e0fca3b4a (patch)
tree3f589db3a6bcbfe500b6719a3be9a044c44a1937
parent646c928b34889c662582eb009677b72d7f4d52e0 (diff)
downloadmeson-82f6790d5c43ca5219ea6fffd868e58e0fca3b4a.zip
meson-82f6790d5c43ca5219ea6fffd868e58e0fca3b4a.tar.gz
meson-82f6790d5c43ca5219ea6fffd868e58e0fca3b4a.tar.bz2
Use python3 in some tests which were still using python
The unversioned command is deprecated and removed from some distributions
-rwxr-xr-xtest cases/common/52 custom target/depfile/dep.py2
-rwxr-xr-xtest cases/common/53 custom target chain/my_compiler.py2
-rwxr-xr-xtest cases/common/53 custom target chain/my_compiler2.py2
-rwxr-xr-xtest cases/common/53 custom target chain/usetarget/subcomp.py2
-rwxr-xr-xtest cases/common/99 manygen/subdir/manygen.py2
-rwxr-xr-xtest cases/linuxlike/14 static dynamic linkage/verify_static.py2
-rwxr-xr-xtest cases/unit/11 cross prog/some_cross_tool.py2
-rwxr-xr-xtest cases/unit/11 cross prog/sometool.py2
-rwxr-xr-xtest cases/unit/39 python extmodule/blaster.py2
-rwxr-xr-xtest cases/unit/61 identity cross/build_wrapper.py2
-rwxr-xr-xtest cases/unit/61 identity cross/host_wrapper.py2
-rw-r--r--test cases/windows/8 find program/test-script2
12 files changed, 12 insertions, 12 deletions
diff --git a/test cases/common/52 custom target/depfile/dep.py b/test cases/common/52 custom target/depfile/dep.py
index 476e88b..dc6e6b6 100755
--- a/test cases/common/52 custom target/depfile/dep.py
+++ b/test cases/common/52 custom target/depfile/dep.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import sys, os
from glob import glob
diff --git a/test cases/common/53 custom target chain/my_compiler.py b/test cases/common/53 custom target chain/my_compiler.py
index 9cf4425..d99029b 100755
--- a/test cases/common/53 custom target chain/my_compiler.py
+++ b/test cases/common/53 custom target chain/my_compiler.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import sys
diff --git a/test cases/common/53 custom target chain/my_compiler2.py b/test cases/common/53 custom target chain/my_compiler2.py
index 0191f3f..22ec789 100755
--- a/test cases/common/53 custom target chain/my_compiler2.py
+++ b/test cases/common/53 custom target chain/my_compiler2.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import sys
diff --git a/test cases/common/53 custom target chain/usetarget/subcomp.py b/test cases/common/53 custom target chain/usetarget/subcomp.py
index b5f6eb0..52dc0bb 100755
--- a/test cases/common/53 custom target chain/usetarget/subcomp.py
+++ b/test cases/common/53 custom target chain/usetarget/subcomp.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import sys
diff --git a/test cases/common/99 manygen/subdir/manygen.py b/test cases/common/99 manygen/subdir/manygen.py
index d46b2a8..32ea63c 100755
--- a/test cases/common/99 manygen/subdir/manygen.py
+++ b/test cases/common/99 manygen/subdir/manygen.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
diff --git a/test cases/linuxlike/14 static dynamic linkage/verify_static.py b/test cases/linuxlike/14 static dynamic linkage/verify_static.py
index 66bf08b..594f194 100755
--- a/test cases/linuxlike/14 static dynamic linkage/verify_static.py
+++ b/test cases/linuxlike/14 static dynamic linkage/verify_static.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""Test script that checks if zlib was statically linked to executable"""
import subprocess
import sys
diff --git a/test cases/unit/11 cross prog/some_cross_tool.py b/test cases/unit/11 cross prog/some_cross_tool.py
index 1edd10f..4a473e2 100755
--- a/test cases/unit/11 cross prog/some_cross_tool.py
+++ b/test cases/unit/11 cross prog/some_cross_tool.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
diff --git a/test cases/unit/11 cross prog/sometool.py b/test cases/unit/11 cross prog/sometool.py
index 4c0e3b1..2ac5680 100755
--- a/test cases/unit/11 cross prog/sometool.py
+++ b/test cases/unit/11 cross prog/sometool.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
diff --git a/test cases/unit/39 python extmodule/blaster.py b/test cases/unit/39 python extmodule/blaster.py
index 163b6d4..8bfe9cf 100755
--- a/test cases/unit/39 python extmodule/blaster.py
+++ b/test cases/unit/39 python extmodule/blaster.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import sys
import tachyon
diff --git a/test cases/unit/61 identity cross/build_wrapper.py b/test cases/unit/61 identity cross/build_wrapper.py
index 22e8b5d..b5fe7bb 100755
--- a/test cases/unit/61 identity cross/build_wrapper.py
+++ b/test cases/unit/61 identity cross/build_wrapper.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import subprocess, sys
diff --git a/test cases/unit/61 identity cross/host_wrapper.py b/test cases/unit/61 identity cross/host_wrapper.py
index 5b4eed8..e88577c 100755
--- a/test cases/unit/61 identity cross/host_wrapper.py
+++ b/test cases/unit/61 identity cross/host_wrapper.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import subprocess, sys
diff --git a/test cases/windows/8 find program/test-script b/test cases/windows/8 find program/test-script
index d105a81..e764165 100644
--- a/test cases/windows/8 find program/test-script
+++ b/test cases/windows/8 find program/test-script
@@ -1,3 +1,3 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
print('1')