From a02ba118a15ecf04eac807edfa61b4da66ce6217 Mon Sep 17 00:00:00 2001 From: Antoni Segura Puimedon Date: Oct 01 2018 09:22: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. 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