From 3da6e4c9dd2e1531231812c927977c3ad48cf328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Diemer?= <stephane.diemer@ubicast.eu> Date: Fri, 12 Apr 2019 11:25:34 +0200 Subject: [PATCH] Use branch for ms testing suite. --- tester.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tester.py b/tester.py index 5366f684..cadedaae 100755 --- a/tester.py +++ b/tester.py @@ -253,6 +253,9 @@ class Tester(): if os.path.exists(ms_path): log('Updating ms-testing-suite in "%s".' % ms_path) os.chdir(ms_path) + branch = utils.get_conf('ENVSETUP_BRANCH') or 'stable' + if branch: + subprocess.call(['git', 'checkout', branch]) subprocess.call(['git', 'pull', '--recurse-submodules']) subprocess.call(['git', 'submodule', 'update', '--init', '--recursive']) os.chdir(self.root_dir) -- GitLab