validate: launcher: Set scenario manager config before discovering testsuites
authorThibault Saunier <tsaunier@gnome.org>
Mon, 16 Nov 2015 15:45:13 +0000 (16:45 +0100)
committerThibault Saunier <tsaunier@gnome.org>
Mon, 16 Nov 2015 15:45:13 +0000 (16:45 +0100)
validate/launcher/main.py

index 4ce4087..5dc77c9 100644 (file)
@@ -507,10 +507,9 @@ Note that all testsuite should be inside python modules, so the directory should
         if not download_assets(options):
             exit(1)
 
-    tests_launcher.set_settings(options, [])
-
     # Ensure that the scenario manager singleton is ready to be used
     ScenarioManager().config = options
+    tests_launcher.set_settings(options, [])
     tests_launcher.list_tests()
 
     if options.list_tests: