From b08043c2130eda85e2269777ea65c45412455976 Mon Sep 17 00:00:00 2001 From: Khouloud Touil Date: Mon, 21 Jan 2019 12:11:43 +0100 Subject: Add new device-tags feature utils/create-jobs: Add the --device-tags argument Add new --device-tags arguement to create a job that contain the device tags as parameters. utils/agljobtemplate: Add the device_tags to the job Add the device_tags to the job in order to be used later in the test scripts to determine which test case should be runned or not. Change-Id: If22fb40b2ddf1a7c0496a59d4318e633028495b9 Signed-off-by: Khouloud Touil --- utils/create-jobs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'utils/create-jobs.py') diff --git a/utils/create-jobs.py b/utils/create-jobs.py index 10a26b6..2a16ff3 100755 --- a/utils/create-jobs.py +++ b/utils/create-jobs.py @@ -49,6 +49,8 @@ def parse_cmdline(machines, tests, rfs_types): help="The name of the modules to use (such as modules.tar.xz)") parser.add_argument('--build-version', dest='build_version', action='store', help="the version number of the build.") + parser.add_argument('--device-tags', dest='device_tags', action='store', + help="The device tags to be used to create the job.", nargs='*', default="") args = parser.parse_args() @@ -77,7 +79,7 @@ def main(): dtb_image=args.dtb_img, modules_image=args.modules_img, build_type=args.build_type, - build_version=args.build_version) + build_version=args.build_version, device_tags=args.device_tags) if args.job_file is None: print job -- cgit 1.2.3-korg