about summary refs log tree commit diff
path: root/benchtests
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@wdc.com>2020-01-04 10:03:17 -0800
committerAlistair Francis <alistair.francis@wdc.com>2020-03-03 15:52:09 -0800
commit4f88b380978e6c81765cbae9fd742590dbec3466 (patch)
tree12ce90ea7a0b23f382a34b35163c3dcdd548b834 /benchtests
parentc014359a7d5154f295152ec4b7f422cc537bd84e (diff)
downloadglibc-4f88b380978e6c81765cbae9fd742590dbec3466.tar.gz
glibc-4f88b380978e6c81765cbae9fd742590dbec3466.tar.xz
glibc-4f88b380978e6c81765cbae9fd742590dbec3466.zip
Convert Python scripts to Python 3
Change all of the #! lines in Python scripts that are called from
Makefiles to reference /usr/bin/python3.

All of the scripts called from Makefiles are already run with Python 3,
so let's make sure they are explicitly using Python 3 if called
manually.
Diffstat (limited to 'benchtests')
-rwxr-xr-xbenchtests/scripts/bench.py2
-rwxr-xr-xbenchtests/scripts/validate_benchout.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/benchtests/scripts/bench.py b/benchtests/scripts/bench.py
index aeec5ccd23..a54ec6f7e3 100755
--- a/benchtests/scripts/bench.py
+++ b/benchtests/scripts/bench.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 # Copyright (C) 2014-2020 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 #
diff --git a/benchtests/scripts/validate_benchout.py b/benchtests/scripts/validate_benchout.py
index 715218aff8..6b4877a67b 100755
--- a/benchtests/scripts/validate_benchout.py
+++ b/benchtests/scripts/validate_benchout.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 # Copyright (C) 2014-2020 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 #