From bcfe99da5e2de4e5b41c1156f79a1c761119c47c Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 28 Jan 2014 16:14:10 +0100 Subject: [PATCH] run_checks: cleanup --- run_checks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run_checks.py b/run_checks.py index 9a96c4dd9..c0ac449a7 100644 --- a/run_checks.py +++ b/run_checks.py @@ -4,9 +4,10 @@ from pkg_resources import load_entry_point, DistributionNotFound from collections import OrderedDict status = OrderedDict() +testmodule = 'qutebrowser' def run(name, args=None): - sys.argv = [name, 'qutebrowser'] + sys.argv = [name, testmodule] if args is not None: sys.argv += args print("====== {} ======".format(name)) @@ -18,7 +19,6 @@ def run(name, args=None): if args is None: args = [] try: - print('exc {}'.format([name, 'qutebrowser'] + args)) status[name] = subprocess.call([name] + args) except FileNotFoundError as e: print('{}: {}'.format(e.__class__.__name__, e))