about summary refs log tree commit diff
path: root/conform
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 /conform
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 'conform')
-rw-r--r--conform/glibcconform.py2
-rw-r--r--conform/linknamespace.py2
-rw-r--r--conform/list-header-symbols.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/conform/glibcconform.py b/conform/glibcconform.py
index 6075745574..1440dedc83 100644
--- a/conform/glibcconform.py
+++ b/conform/glibcconform.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 # Shared code for glibc conformance tests.
 # Copyright (C) 2018-2020 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
diff --git a/conform/linknamespace.py b/conform/linknamespace.py
index 87cd17b1ce..1d27e4cfba 100644
--- a/conform/linknamespace.py
+++ b/conform/linknamespace.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 # Check that use of symbols declared in a given header does not result
 # in any symbols being brought in that are not reserved with external
 # linkage for the given standard.
diff --git a/conform/list-header-symbols.py b/conform/list-header-symbols.py
index e43c12ec40..bfa463a303 100644
--- a/conform/list-header-symbols.py
+++ b/conform/list-header-symbols.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 # Print a list of symbols exported by some headers that would
 # otherwise be in the user's namespace.
 # Copyright (C) 2018-2020 Free Software Foundation, Inc.