From 8fcbff85420c84a1671929bf974830f25f3b1a6d Mon Sep 17 00:00:00 2001 From: Kyle Manna Date: Thu, 1 Oct 2015 17:50:47 -0700 Subject: [PATCH] tests: Use /usr/bin/env python3 * Use the env variable to $PATH is searched instead of hardcoded * Enables a local python build to take priority over system python build as commonly used by tools like virtualenv. --- test cases/common/56 custom target/my_compiler.py | 2 +- test cases/common/57 custom target chain/my_compiler.py | 2 +- test cases/common/57 custom target chain/my_compiler2.py | 2 +- test cases/common/59 object generator/obj_generator.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test cases/common/56 custom target/my_compiler.py b/test cases/common/56 custom target/my_compiler.py index 3165cf8c0..43e714350 100755 --- a/test cases/common/56 custom target/my_compiler.py +++ b/test cases/common/56 custom target/my_compiler.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import sys diff --git a/test cases/common/57 custom target chain/my_compiler.py b/test cases/common/57 custom target chain/my_compiler.py index 3165cf8c0..43e714350 100755 --- a/test cases/common/57 custom target chain/my_compiler.py +++ b/test cases/common/57 custom target chain/my_compiler.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import sys diff --git a/test cases/common/57 custom target chain/my_compiler2.py b/test cases/common/57 custom target chain/my_compiler2.py index 8c767b124..22a416015 100755 --- a/test cases/common/57 custom target chain/my_compiler2.py +++ b/test cases/common/57 custom target chain/my_compiler2.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import sys diff --git a/test cases/common/59 object generator/obj_generator.py b/test cases/common/59 object generator/obj_generator.py index 6f98f3986..69600597d 100755 --- a/test cases/common/59 object generator/obj_generator.py +++ b/test cases/common/59 object generator/obj_generator.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # Mimic a binary that generates an object file (e.g. windres).