qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Henrique Barboza <danielhb413@gmail.com>
To: qemu-devel@nongnu.org
Cc: thuth@redhat.com, Daniel Henrique Barboza <danielhb413@gmail.com>,
	qemu-ppc@nongnu.org, clg@kaod.org, crosa@redhat.com,
	david@gibson.dropbear.id.au
Subject: [PATCH 1/5] qtest/meson.build: check CONFIG_TCG for prom-env-test in qtests_ppc
Date: Thu,  3 Mar 2022 12:35:13 -0300	[thread overview]
Message-ID: <20220303153517.168943-2-danielhb413@gmail.com> (raw)
In-Reply-To: <20220303153517.168943-1-danielhb413@gmail.com>

'prom-env-test' is a TCG test that will fail if QEMU is compiled with
--disable-tcg:

$ QTEST_QEMU_BINARY=./qemu-system-ppc64 ./tests/qtest/prom-env-test
/ppc64/prom-env/mac99: qemu-system-ppc64: -accel tcg: invalid accelerator tcg
(... hangs indefinitely ...)

Fix it by checking CONFIG_TCG before compiling prom-env-test.

Cc: Thomas Huth <thuth@redhat.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
---
 tests/qtest/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build
index f33d84d19b..0c2f2d94e1 100644
--- a/tests/qtest/meson.build
+++ b/tests/qtest/meson.build
@@ -160,7 +160,8 @@ qtests_ppc = \
   (slirp.found() ? ['test-netfilter'] : []) + \
   (config_all_devices.has_key('CONFIG_ISA_TESTDEV') ? ['endianness-test'] : []) +            \
   (config_all_devices.has_key('CONFIG_M48T59') ? ['m48t59-test'] : []) +                     \
-  ['boot-order-test', 'prom-env-test', 'boot-serial-test']                 \
+  (config_all_devices.has_key('CONFIG_TCG') ? ['prom-env-test'] : []) +                      \
+  ['boot-order-test', 'boot-serial-test']
 
 qtests_ppc64 = \
   qtests_ppc + \
-- 
2.35.1



  reply	other threads:[~2022-03-03 15:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-03 15:35 [PATCH 0/5] --disable-tcg qtest/avocado fixes for ppc64 Daniel Henrique Barboza
2022-03-03 15:35 ` Daniel Henrique Barboza [this message]
2022-03-07  7:57   ` [PATCH 1/5] qtest/meson.build: check CONFIG_TCG for prom-env-test in qtests_ppc Thomas Huth
2022-03-03 15:35 ` [PATCH 2/5] qtest/meson.build: check CONFIG_TCG for boot-serial-test " Daniel Henrique Barboza
2022-03-07  8:00   ` Thomas Huth
2022-03-03 15:35 ` [PATCH 3/5] avocado/boot_linux_console.py: check for tcg in test_ppc_powernv8/9 Daniel Henrique Barboza
2022-03-03 16:08   ` Cédric Le Goater
2022-03-04 12:23   ` Philippe Mathieu-Daudé
2022-03-03 15:35 ` [PATCH 4/5] avocado/boot_linux_console.py: check tcg accel in test_ppc64_e500 Daniel Henrique Barboza
2022-03-03 16:08   ` Cédric Le Goater
2022-03-03 15:35 ` [PATCH 5/5] avocado/replay_kernel.py: make tcg-icount check in run_vm() Daniel Henrique Barboza
2022-03-07  8:47   ` Cédric Le Goater
2022-03-09  4:59     ` Pavel Dovgalyuk
2022-03-09  8:21       ` Cédric Le Goater
2022-03-14 15:22 ` [PATCH 0/5] --disable-tcg qtest/avocado fixes for ppc64 Cédric Le Goater

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=20220303153517.168943-2-danielhb413@gmail.com \
    --to=danielhb413@gmail.com \
    --cc=clg@kaod.org \
    --cc=crosa@redhat.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --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;
as well as URLs for NNTP newsgroup(s).