All of lore.kernel.org
 help / color / mirror / Atom feed
From: nobuhiro1.iwamatsu@toshiba.co.jp (Nobuhiro Iwamatsu)
To: cip-dev@lists.cip-project.org
Subject: [cip-dev] [PATCH 2/3] Change to specify test name as argument to create_job
Date: Wed, 28 Aug 2019 11:26:18 +0900	[thread overview]
Message-ID: <20190828022619.3690-2-nobuhiro1.iwamatsu@toshiba.co.jp> (raw)
In-Reply-To: <20190828022619.3690-1-nobuhiro1.iwamatsu@toshiba.co.jp>

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
---
 ...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
 }
-- 
2.20.1

  reply	other threads:[~2019-08-28  2:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-28  2:26 [cip-dev] [PATCH 1/3] Change templagte directory name Nobuhiro Iwamatsu
2019-08-28  2:26 ` Nobuhiro Iwamatsu [this message]
2019-08-28  2:26 ` [cip-dev] [PATCH 3/3] Add spectre-meltdown-checker test Nobuhiro Iwamatsu
2019-08-28 10:05 ` [cip-dev] [PATCH 1/3] Change templagte directory name Chris Paterson
2019-08-28 22:57   ` nobuhiro1.iwamatsu at toshiba.co.jp
2019-08-29  7:28     ` Chris Paterson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190828022619.3690-2-nobuhiro1.iwamatsu@toshiba.co.jp \
    --to=nobuhiro1.iwamatsu@toshiba.co.jp \
    --cc=cip-dev@lists.cip-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.