Use python3 in some tests which were still using python

The unversioned command is deprecated and removed from some distributions
pull/6489/head
Sebastien Bacher 4 years ago committed by Jussi Pakkanen
parent 646c928b34
commit 82f6790d5c
  1. 2
      test cases/common/52 custom target/depfile/dep.py
  2. 2
      test cases/common/53 custom target chain/my_compiler.py
  3. 2
      test cases/common/53 custom target chain/my_compiler2.py
  4. 2
      test cases/common/53 custom target chain/usetarget/subcomp.py
  5. 2
      test cases/common/99 manygen/subdir/manygen.py
  6. 2
      test cases/linuxlike/14 static dynamic linkage/verify_static.py
  7. 2
      test cases/unit/11 cross prog/some_cross_tool.py
  8. 2
      test cases/unit/11 cross prog/sometool.py
  9. 2
      test cases/unit/39 python extmodule/blaster.py
  10. 2
      test cases/unit/61 identity cross/build_wrapper.py
  11. 2
      test cases/unit/61 identity cross/host_wrapper.py
  12. 2
      test cases/windows/8 find program/test-script

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import sys, os
from glob import glob

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import sys

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import sys

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import sys

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
from __future__ import print_function

@ -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

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
from __future__ import print_function

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
from __future__ import print_function

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import sys
import tachyon

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import subprocess, sys

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import subprocess, sys

@ -1,3 +1,3 @@
#!/usr/bin/env python
#!/usr/bin/env python3
print('1')

Loading…
Cancel
Save