From patchwork Wed Aug 28 02:26:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 11117697 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A8D6313B1 for ; Wed, 28 Aug 2019 02:26:28 +0000 (UTC) Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 936E62173E for ; Wed, 28 Aug 2019 02:26:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 936E62173E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=toshiba.co.jp Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=cip-dev-bounces@lists.cip-project.org Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 41CEC240A; Wed, 28 Aug 2019 02:26:28 +0000 (UTC) X-Original-To: cip-dev@lists.cip-project.org Delivered-To: cip-dev@mail.linuxfoundation.org Received: from smtp2.linuxfoundation.org (smtp2.linux-foundation.org [172.17.192.36]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 6FBB3240A for ; Wed, 28 Aug 2019 02:26:27 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mo-csw.securemx.jp (mo-csw1515.securemx.jp [210.130.202.154]) by smtp2.linuxfoundation.org (Postfix) with ESMTPS id CDDBB1DD99 for ; Wed, 28 Aug 2019 02:26:26 +0000 (UTC) Received: by mo-csw.securemx.jp (mx-mo-csw1515) id x7S2QP7f026311; Wed, 28 Aug 2019 11:26:25 +0900 X-Iguazu-Qid: 34trvz9kGavfDidOrZ X-Iguazu-QSIG: v=2; s=0; t=1566959185; q=34trvz9kGavfDidOrZ; m=tShrasFkF/+2v0NKQiQQqMGf1qxBUqjAjYXhHyreSZc= Received: from imx12.toshiba.co.jp (imx12.toshiba.co.jp [61.202.160.132]) by relay.securemx.jp (mx-mr1510) id x7S2QO9V023073; Wed, 28 Aug 2019 11:26:24 +0900 Received: from enc02.toshiba.co.jp ([61.202.160.51]) by imx12.toshiba.co.jp with ESMTP id x7S2QOtT014448; Wed, 28 Aug 2019 11:26:24 +0900 (JST) Received: from hop101.toshiba.co.jp ([133.199.85.107]) by enc02.toshiba.co.jp with ESMTP id x7S2QNCv014968; Wed, 28 Aug 2019 11:26:24 +0900 From: Nobuhiro Iwamatsu To: Chris.Paterson2@renesas.com Date: Wed, 28 Aug 2019 11:26:18 +0900 X-TSB-HOP: ON Message-Id: <20190828022619.3690-2-nobuhiro1.iwamatsu@toshiba.co.jp> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190828022619.3690-1-nobuhiro1.iwamatsu@toshiba.co.jp> References: <20190828022619.3690-1-nobuhiro1.iwamatsu@toshiba.co.jp> MIME-Version: 1.0 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp2.linux-foundation.org Cc: cip-dev@lists.cip-project.org Subject: [cip-dev] [PATCH 2/3] Change to specify test name as argument to create_job X-BeenThere: cip-dev@lists.cip-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: cip-dev-bounces@lists.cip-project.org Errors-To: cip-dev-bounces@lists.cip-project.org Signed-off-by: Nobuhiro Iwamatsu --- ...20d-q7.yaml => r8a7743-iwg20d-q7_healthcheck.yaml} | 0 ...mm.yaml => r8a7745-iwg22d-sodimm_healthcheck.yaml} | 0 ...4c0-ek874.yaml => r8a774c0-ek874_healthcheck.yaml} | 0 submit_tests.sh | 11 ++++++----- 4 files changed, 6 insertions(+), 5 deletions(-) rename lava_templates/{r8a7743-iwg20d-q7.yaml => r8a7743-iwg20d-q7_healthcheck.yaml} (100%) rename lava_templates/{r8a7745-iwg22d-sodimm.yaml => r8a7745-iwg22d-sodimm_healthcheck.yaml} (100%) rename lava_templates/{r8a774c0-ek874.yaml => r8a774c0-ek874_healthcheck.yaml} (100%) diff --git a/lava_templates/r8a7743-iwg20d-q7.yaml b/lava_templates/r8a7743-iwg20d-q7_healthcheck.yaml similarity index 100% rename from lava_templates/r8a7743-iwg20d-q7.yaml rename to lava_templates/r8a7743-iwg20d-q7_healthcheck.yaml diff --git a/lava_templates/r8a7745-iwg22d-sodimm.yaml b/lava_templates/r8a7745-iwg22d-sodimm_healthcheck.yaml similarity index 100% rename from lava_templates/r8a7745-iwg22d-sodimm.yaml rename to lava_templates/r8a7745-iwg22d-sodimm_healthcheck.yaml diff --git a/lava_templates/r8a774c0-ek874.yaml b/lava_templates/r8a774c0-ek874_healthcheck.yaml similarity index 100% rename from lava_templates/r8a774c0-ek874.yaml rename to lava_templates/r8a774c0-ek874_healthcheck.yaml diff --git a/submit_tests.sh b/submit_tests.sh index 7dff7a2..5f83182 100755 --- a/submit_tests.sh +++ b/submit_tests.sh @@ -47,11 +47,12 @@ clean_up () { } get_template () { - TEMPLATE="$TEMPLATE_DIR/$DEVICE.yaml" + TEMPLATE="${TEMPLATE_DIR}/${DEVICE}_${1}.yaml" } create_job () { - get_template + local testname="$1" + get_template $testname local dtb_url="$AWS_URL_DOWN/$DTB" local kernel_url="$AWS_URL_DOWN/$KERNEL" @@ -59,9 +60,9 @@ create_job () { INDEX="0" if $USE_DTB; then - local job_name="${VERSION}_${ARCH}_${CONFIG}_${DTB_NAME}" + local job_name="${VERSION}_${ARCH}_${CONFIG}_${DTB_NAME}_${testname}" else - local job_name="${VERSION}_${ARCH}_${CONFIG}" + local job_name="${VERSION}_${ARCH}_${CONFIG}_${testname}" fi local job_definition="$TMP_DIR/${INDEX}_${job_name}.yaml" @@ -148,7 +149,7 @@ find_jobs () { fi print_kernel_info - create_job + create_job healthcheck done < $jobfile done }