From d25fb034fab534bf2adbec6a90fea5110d2289c4 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Mon, 8 Dec 2014 08:42:51 -0300 Subject: [PATCH] launcher: baseclass: add missing parameter Fixes "NameError: global name 'options' is not defined" --- validate/launcher/baseclasses.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/validate/launcher/baseclasses.py b/validate/launcher/baseclasses.py index a10ec8cd53..cfe6fbf731 100644 --- a/validate/launcher/baseclasses.py +++ b/validate/launcher/baseclasses.py @@ -880,7 +880,7 @@ class _TestsLauncher(Loggable): " maybe because of missing TestManager" % (testsuite), Colors.FAIL) - def _load_config(self): + def _load_config(self, options): printc("Loading config files is DEPRECATED" " you should use the new testsuite format now",) @@ -913,7 +913,7 @@ class _TestsLauncher(Loggable): args.remove(tester.name) if options.config: - self._load_config() + self._load_config(options) self._load_testsuites()