public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH v1 1/1] s390x: fix make standalone
@ 2022-12-20 17:55 Claudio Imbrenda
  2022-12-21  8:16 ` Nico Boehr
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Claudio Imbrenda @ 2022-12-20 17:55 UTC (permalink / raw)
  To: kvm; +Cc: frankja, nrb, seiden, nsg, thuth

A recent patch broke make standalone. The function find_word is not
available when running make standalone, replace it with a simple grep.

Reported-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Fixes: 743cacf7 ("s390x: don't run migration tests under PV")
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
---
 scripts/s390x/func.bash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/s390x/func.bash b/scripts/s390x/func.bash
index 2a941bbb..6c75e89a 100644
--- a/scripts/s390x/func.bash
+++ b/scripts/s390x/func.bash
@@ -21,7 +21,7 @@ function arch_cmd_s390x()
 	"$cmd" "$testname" "$groups" "$smp" "$kernel" "$opts" "$arch" "$check" "$accel" "$timeout"
 
 	# run PV test case
-	if [ "$ACCEL" = 'tcg' ] || find_word "migration" "$groups"; then
+	if [ "$ACCEL" = 'tcg' ] || grep -q "migration" <<< "$groups"; then
 		return
 	fi
 	kernel=${kernel%.elf}.pv.bin
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-01-04 14:50 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-20 17:55 [kvm-unit-tests PATCH v1 1/1] s390x: fix make standalone Claudio Imbrenda
2022-12-21  8:16 ` Nico Boehr
2022-12-21  9:14   ` Nico Boehr
2022-12-26 18:41     ` Andrew Jones
2023-01-03 14:04       ` Nina Schoetterl-Glausch
2023-01-03 14:29         ` Andrew Jones
2023-01-04 11:07       ` Claudio Imbrenda
2023-01-04 12:56         ` Thomas Huth
2023-01-04 14:48         ` Andrew Jones
2022-12-26 18:36 ` Andrew Jones
2023-01-04 12:52   ` Thomas Huth
2023-01-04 14:49     ` Andrew Jones
2023-01-03 14:05 ` Nina Schoetterl-Glausch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox