summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndrea Mondelli <andrea.mondelli@ucf.edu>2019-01-10 10:12:41 -0500
committerAndrea Mondelli <Andrea.mondelli@ucf.edu>2019-01-11 17:41:02 +0000
commit3d54f6d42c303a2b17b1a882634444fc1319a9a1 (patch)
tree2e04a72a00fc32889698976e8b91d93798e532b2 /tests
parentf3a438e58d836ec283af6eef8bb34b57958303d6 (diff)
downloadgem5-3d54f6d42c303a2b17b1a882634444fc1319a9a1.tar.xz
misc: updated shabang for python script
The default python on MacOS doesn’t have an alias to python2. The official python version supported in gem5 is Python2.7. This patch updates the shabang according to the version required in gem5. Change-Id: I9533c0f7858b5b3cab0ef101be1ee5cd718105b0 Reviewed-on: https://gem5-review.googlesource.com/c/15375 Maintainer: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/main.py2
-rw-r--r--tests/testing/__init__.py2
-rwxr-xr-xtests/testing/helpers.py2
-rw-r--r--tests/testing/results.py2
-rwxr-xr-xtests/testing/tests.py2
-rw-r--r--tests/testing/units.py2
-rwxr-xr-xtests/tests.py2
7 files changed, 7 insertions, 7 deletions
diff --git a/tests/main.py b/tests/main.py
index c8dc9b961..509724ed7 100755
--- a/tests/main.py
+++ b/tests/main.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python2.7
'''
The main source for testlib. Ties together the default test runners and
loaders.
diff --git a/tests/testing/__init__.py b/tests/testing/__init__.py
index 1bc471108..4230079e6 100644
--- a/tests/testing/__init__.py
+++ b/tests/testing/__init__.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python2.7
#
# Copyright (c) 2016 ARM Limited
# All rights reserved
diff --git a/tests/testing/helpers.py b/tests/testing/helpers.py
index 29c6bf5ea..70e6dfb01 100755
--- a/tests/testing/helpers.py
+++ b/tests/testing/helpers.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python2.7
#
# Copyright (c) 2016 ARM Limited
# All rights reserved
diff --git a/tests/testing/results.py b/tests/testing/results.py
index 4e0707860..8cb3811df 100644
--- a/tests/testing/results.py
+++ b/tests/testing/results.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python2.7
#
# Copyright (c) 2016 ARM Limited
# All rights reserved
diff --git a/tests/testing/tests.py b/tests/testing/tests.py
index 123d3b1a4..00f3e5a12 100755
--- a/tests/testing/tests.py
+++ b/tests/testing/tests.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python2.7
#
# Copyright (c) 2016-2017 ARM Limited
# All rights reserved
diff --git a/tests/testing/units.py b/tests/testing/units.py
index 220cf61f6..90918aea5 100644
--- a/tests/testing/units.py
+++ b/tests/testing/units.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python2.7
#
# Copyright (c) 2016 ARM Limited
# All rights reserved
diff --git a/tests/tests.py b/tests/tests.py
index a57a97228..9967669e0 100755
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python2.7
#
# Copyright (c) 2016 ARM Limited
# All rights reserved