Commit 59ae2baf authored by Mattia Rizzolo's avatar Mattia Rizzolo

Add a bin/managetests script to run this from the git repository

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 99a62c41
#! /usr/bin/python3
import os
import sys
# Prefer local modules over any system-installed ones to ensure that running a
# Git version from any current working directory does not have unexpected
# behaviour.
parent = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
if os.path.exists(os.path.join(parent, 'managetests', '__init__.py')):
sys.path.insert(0, parent)
if __name__ == '__main__':
import managetests
managetests.main.cli()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment