aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2017-10-21 20:36:14 +0200
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2017-10-21 20:36:14 +0200
commitec5e91d20ae8d370aea695961da3182b1dbc4cff (patch)
tree62c6e8253de1f0de1dd07fd9d8f770e71589c133
parent8b2b001a1efe8a6921a530b3c91b7d77efb86f41 (diff)
openembedded-lkft/submit_for_testing.py: add env_suffix
We are using this script for the lt-qcom jobs, and we would need a suffix when setting the env in our tests. Change-Id: I2aea1a452ba910f7871fc03d86c607bdce0dc65c Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rw-r--r--openembedded-lkft/submit_for_testing.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/openembedded-lkft/submit_for_testing.py b/openembedded-lkft/submit_for_testing.py
index a63f9273a7..536019e18d 100644
--- a/openembedded-lkft/submit_for_testing.py
+++ b/openembedded-lkft/submit_for_testing.py
@@ -26,6 +26,10 @@ def main():
help="Prefix for the environment name",
dest="env_prefix",
default="")
+ parser.add_argument("--env-suffix",
+ help="Suffix for the environment name",
+ dest="env_suffix",
+ default="")
parser.add_argument("--build-number",
help="Build number",
dest="build_number",
@@ -80,7 +84,7 @@ def main():
qa_server_team = args.qa_server_team
qa_server_project = args.qa_server_project
qa_server_build = args.git_commit
- qa_server_env = args.env_prefix + args.device_type
+ qa_server_env = args.env_prefix + args.device_type + args.env_suffix
qa_server_api = "%s/api/submitjob/%s/%s/%s/%s" % (
qa_server_base,
qa_server_team,