From 3d54f6d42c303a2b17b1a882634444fc1319a9a1 Mon Sep 17 00:00:00 2001 From: Andrea Mondelli Date: Thu, 10 Jan 2019 10:12:41 -0500 Subject: misc: updated shabang for python script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Jason Lowe-Power Reviewed-by: Andreas Sandberg --- tests/main.py | 2 +- tests/testing/__init__.py | 2 +- tests/testing/helpers.py | 2 +- tests/testing/results.py | 2 +- tests/testing/tests.py | 2 +- tests/testing/units.py | 2 +- tests/tests.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'tests') 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 -- cgit v1.2.3