diff options
author | Andrea Mondelli <andrea.mondelli@ucf.edu> | 2019-01-10 10:12:41 -0500 |
---|---|---|
committer | Andrea Mondelli <Andrea.mondelli@ucf.edu> | 2019-01-11 17:41:02 +0000 |
commit | 3d54f6d42c303a2b17b1a882634444fc1319a9a1 (patch) | |
tree | 2e04a72a00fc32889698976e8b91d93798e532b2 /tests | |
parent | f3a438e58d836ec283af6eef8bb34b57958303d6 (diff) | |
download | gem5-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-x | tests/main.py | 2 | ||||
-rw-r--r-- | tests/testing/__init__.py | 2 | ||||
-rwxr-xr-x | tests/testing/helpers.py | 2 | ||||
-rw-r--r-- | tests/testing/results.py | 2 | ||||
-rwxr-xr-x | tests/testing/tests.py | 2 | ||||
-rw-r--r-- | tests/testing/units.py | 2 | ||||
-rwxr-xr-x | tests/tests.py | 2 |
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 |