From 79d5c3ccdf519f8a340075fceeacf3bbc55b9a18 Mon Sep 17 00:00:00 2001 From: Antoni Segura Puimedon Date: Oct 01 2018 09:58:24 +0000 Subject: runtests: Allow usage of virtual environments Currently the python3 interpreter location is hardcoded in the shebang. This is problematic when running the tests in distros that place it elsewhere or when leveraging virtualenvs to run the tests. With the proposed change we just rely on python3 being in the environment. Merges: #3789 Signed-off-by: Antoni Segura Puimedon --- diff --git a/runtests.py b/runtests.py index 6bdf8b9..be4f663 100755 --- a/runtests.py +++ b/runtests.py @@ -1,4 +1,4 @@ -#!/bin/python3 +#!/usr/bin/env python3 from __future__ import print_function, unicode_literals