summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Santos <thiagoss@osg.samsung.com>2014-12-08 11:42:51 (GMT)
committerThiago Santos <thiagoss@osg.samsung.com>2014-12-08 11:43:57 (GMT)
commitd25fb034fab534bf2adbec6a90fea5110d2289c4 (patch)
tree36b3bd1252b89e67aa4cb9147e3931a5e8c93e75
parent8450dff17dfc0542979679e085722f205e0f1fff (diff)
downloadgst-devtools-d25fb034fab534bf2adbec6a90fea5110d2289c4.tar.gz
gst-devtools-d25fb034fab534bf2adbec6a90fea5110d2289c4.tar.xz
launcher: baseclass: add missing parameter
Fixes "NameError: global name 'options' is not defined"
-rw-r--r--validate/launcher/baseclasses.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/validate/launcher/baseclasses.py b/validate/launcher/baseclasses.py
index a10ec8c..cfe6fbf 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()