diff options
| author | Sebastien Bacher <seb128@ubuntu.com> | 2020-01-10 16:56:37 +0100 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-01-21 04:26:50 +1000 |
| commit | 82f6790d5c43ca5219ea6fffd868e58e0fca3b4a (patch) | |
| tree | 3f589db3a6bcbfe500b6719a3be9a044c44a1937 | |
| parent | 646c928b34889c662582eb009677b72d7f4d52e0 (diff) | |
| download | meson-82f6790d5c43ca5219ea6fffd868e58e0fca3b4a.tar.gz | |
Use python3 in some tests which were still using python
The unversioned command is deprecated and removed from some distributions
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 476e88b9b..dc6e6b6a4 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 9cf4425f8..d99029bcc 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 0191f3faf..22ec7897b 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 b5f6eb009..52dc0bbb5 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 d46b2a819..32ea63c73 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 66bf08b58..594f194bc 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 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 diff --git a/test cases/windows/8 find program/test-script b/test cases/windows/8 find program/test-script index d105a818d..e76416525 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') |
