From nobody Sat Jul 12 10:56:32 2025 Delivered-To: importer2@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer2=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=ispras.ru Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1627375608945666.636523589541; Tue, 27 Jul 2021 01:46:48 -0700 (PDT) Received: from localhost ([::1]:58274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m8Ijf-00049v-UT for importer2@patchew.org; Tue, 27 Jul 2021 04:46:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8IiR-0002jM-Dt for qemu-devel@nongnu.org; Tue, 27 Jul 2021 04:45:31 -0400 Received: from mail.ispras.ru ([83.149.199.84]:44510) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8IiN-0002tA-71 for qemu-devel@nongnu.org; Tue, 27 Jul 2021 04:45:30 -0400 Received: from [127.0.1.1] (unknown [62.118.138.151]) by mail.ispras.ru (Postfix) with ESMTPSA id BD6AE40755CD; Tue, 27 Jul 2021 08:45:23 +0000 (UTC) Subject: [PATCH v3 2/5] tests/acceptance: add replay kernel test for openrisc From: Pavel Dovgalyuk To: qemu-devel@nongnu.org Date: Tue, 27 Jul 2021 11:45:23 +0300 Message-ID: <162737552350.1735673.14603125561530143423.stgit@pasha-ThinkPad-X280> In-Reply-To: <162737551207.1735673.5022919664900932604.stgit@pasha-ThinkPad-X280> References: <162737551207.1735673.5022919664900932604.stgit@pasha-ThinkPad-X280> User-Agent: StGit/0.23 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=83.149.199.84; envelope-from=pavel.dovgalyuk@ispras.ru; helo=mail.ispras.ru X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pavel.dovgalyuk@ispras.ru, philmd@redhat.com, wrampazz@redhat.com, crosa@redhat.com, pbonzini@redhat.com, alex.bennee@linaro.org Errors-To: qemu-devel-bounces+importer2=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZM-MESSAGEID: 1627375610816100004 This patch adds record/replay test which boots Linux kernel on openrisc platform. The test uses kernel binaries taken from boot_linux_console test. Signed-off-by: Pavel Dovgalyuk Reviewed-by: Willian Rampazzo --- tests/acceptance/replay_kernel.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/acceptance/replay_kernel.py b/tests/acceptance/replay_ke= rnel.py index 779db2a51f..a6db1b6556 100644 --- a/tests/acceptance/replay_kernel.py +++ b/tests/acceptance/replay_kernel.py @@ -318,6 +318,17 @@ def test_ppc64_e500(self): file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash) self.do_test_advcal_2018(file_path, 'uImage') =20 + def test_or1k_sim(self): + """ + :avocado: tags=3Darch:or1k + :avocado: tags=3Dmachine:or1k-sim + """ + tar_hash =3D '20334cdaf386108c530ff0badaecc955693027dd' + tar_url =3D ('https://www.qemu-advent-calendar.org' + '/2018/download/day20.tar.xz') + file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash) + self.do_test_advcal_2018(file_path, 'vmlinux') + def test_ppc_g3beige(self): """ :avocado: tags=3Darch:ppc