validate: launcher: Properly handle non default main dir

for the case of the new testsuite files
This commit is contained in:
Thibault Saunier 2014-12-08 10:09:57 +01:00
parent 5bfd579bf4
commit 8450dff17d

View file

@ -274,6 +274,11 @@ class LauncherConfig(Loggable):
% self.clone_dir, Colors.FAIL, True)
return False
if (self.main_dir != DEFAULT_MAIN_DIR or
self.clone_dir != QA_ASSETS) and \
self.testsuites_dir == DEFAULT_TESTSUITES_DIR:
self.testsuites_dir = os.path.join(self.main_dir, self.clone_dir,
"testsuites")
return True
def set_http_server_dir(self, path):