From 8450dff17dfc0542979679e085722f205e0f1fff Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Mon, 8 Dec 2014 10:09:57 +0100 Subject: [PATCH] validate: launcher: Properly handle non default main dir for the case of the new testsuite files --- validate/launcher/main.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/validate/launcher/main.py b/validate/launcher/main.py index d7b04bc..954aa28 100644 --- a/validate/launcher/main.py +++ b/validate/launcher/main.py @@ -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): -- 2.7.4