public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Jones <andrew.jones@linux.dev>
To: linux-s390@vger.kernel.org
Cc: frankja@linux.ibm.com, imbrenda@linux.ibm.com, nrb@linux.ibm.com,
	david@redhat.com, thuth@redhat.com, alexandru.elisei@arm.com
Subject: [kvm-unit-tests PATCH] s390x: Fix arch_cmd
Date: Wed,  9 Jul 2025 10:59:39 +0200	[thread overview]
Message-ID: <20250709085938.33254-2-andrew.jones@linux.dev> (raw)

As commit ("scripts: Add 'test_args' test definition parameter") states
in its summary, it adds another parameter. Make sure we account for it
in the s390x-specific arch_cmd as well.

Fixes: a7794f16c84a ("scripts: Add 'test_args' test definition parameter")
Signed-off-by: Andrew Jones <andrew.jones@linux.dev>
---
 scripts/s390x/func.bash | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/scripts/s390x/func.bash b/scripts/s390x/func.bash
index f04e8e2ac0a7..28c3a70c7da9 100644
--- a/scripts/s390x/func.bash
+++ b/scripts/s390x/func.bash
@@ -11,15 +11,16 @@ function arch_cmd_s390x()
 	local groups=$3
 	local smp=$4
 	local kernel=$5
-	local opts=$6
-	local arch=$7
-	local machine=$8
-	local check=$9
-	local accel=${10}
-	local timeout=${11}
+	local test_args=$6
+	local opts=$7
+	local arch=$8
+	local machine=$9
+	local check=${10}
+	local accel=${11}
+	local timeout=${12}
 
 	# run the normal test case
-	"$cmd" "$testname" "$groups" "$smp" "$kernel" "$opts" "$arch" "$machine" "$check" "$accel" "$timeout"
+	"$cmd" "$testname" "$groups" "$smp" "$kernel" "$test_args" "$opts" "$arch" "$machine" "$check" "$accel" "$timeout"
 
 	# run PV test case
 	if [ "$accel" = 'tcg' ] || grep -q "migration" <<< "$groups"; then
@@ -35,5 +36,5 @@ function arch_cmd_s390x()
 		print_result 'SKIP' $testname '' 'PVM image was not created'
 		return 2
 	fi
-	"$cmd" "$testname" "$groups pv" "$smp" "$kernel" "$opts" "$arch" "$machine" "$check" "$accel" "$timeout"
+	"$cmd" "$testname" "$groups pv" "$smp" "$kernel" "$test_args" "$opts" "$arch" "$machine" "$check" "$accel" "$timeout"
 }
-- 
2.49.0


             reply	other threads:[~2025-07-09  8:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-09  8:59 Andrew Jones [this message]
2025-07-09  9:22 ` [kvm-unit-tests PATCH] s390x: Fix arch_cmd Claudio Imbrenda
2025-07-09 10:16 ` Alexandru Elisei
2025-07-11 14:42 ` Andrew Jones

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=20250709085938.33254-2-andrew.jones@linux.dev \
    --to=andrew.jones@linux.dev \
    --cc=alexandru.elisei@arm.com \
    --cc=david@redhat.com \
    --cc=frankja@linux.ibm.com \
    --cc=imbrenda@linux.ibm.com \
    --cc=linux-s390@vger.kernel.org \
    --cc=nrb@linux.ibm.com \
    --cc=thuth@redhat.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox