Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

Commit

Permalink
Preliminary fix for issue #225 (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shahriyar Rzayev committed Dec 9, 2017
1 parent 2562e59 commit 18698c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion prepare_env_test_mode/clone_build_start_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ def build_pxb(self):
for branch in pxb_branches:
pxb_path = "{}/PXB-{}".format(self.testpath, branch)
os.chdir(pxb_path)
build_cmd = "{}/build_{}_pxb.sh {}".format(dir_path, branch, self.testpath)
if '2.3' in branch:
build_cmd = "{}/build_{}_pxb.sh {}".format(dir_path, '2.3', self.testpath)
elif '2.4' in branch:
build_cmd = "{}/build_{}_pxb.sh {}".format(dir_path, '2.4', self.testpath)
status, output = subprocess.getstatusoutput(build_cmd)
if status == 0:
logger.debug("PXB build succeeded")
Expand Down

0 comments on commit 18698c3

Please sign in to comment.