summaryrefslogtreecommitdiff
path: root/test cases/unit
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 /test cases/unit
parent646c928b34889c662582eb009677b72d7f4d52e0 (diff)
downloadmeson-82f6790d5c43ca5219ea6fffd868e58e0fca3b4a.tar.gz
Use python3 in some tests which were still using python
The unversioned command is deprecated and removed from some distributions
Diffstat (limited to 'test cases/unit')
-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
5 files changed, 5 insertions, 5 deletions
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 1edd10f6a..4a473e2c2 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 4c0e3b184..2ac5680cc 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 163b6d426..8bfe9cfb7 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 22e8b5dc1..b5fe7bb89 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 5b4eed8be..e88577c9a 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