From patchwork Fri Oct 11 13:19:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 13832774 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7F2B3D0EE12 for ; Fri, 11 Oct 2024 17:20:22 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1szJDN-0000hq-As; Fri, 11 Oct 2024 13:14:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1szJ7H-0003l6-B6 for qemu-devel@nongnu.org; Fri, 11 Oct 2024 13:07:52 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1szFYw-0004J9-0Y for qemu-devel@nongnu.org; Fri, 11 Oct 2024 09:20:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1728652806; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=CNSii7eH6rvQ/DnqAg5OAeuOExPoRZI2a/mLPSF7WCo=; b=ZUpjHDuQIgvUk4DkXuioAyJBSM0T1E7Y7YOMRmtQK2TDcvDLH6rFxvqUxKO/fsYwzQcmSy PeOwsSWYmpyg341EmSZglXNu0uHtcKGRAOYlplVFeLQUxyNdduQz6fker0S1qy5hclHYZB AWtTcswnJGd/M3KjdhCSU1ffUgoJJrY= Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-119-NLo6iy8EMTO_dYKIdZyhQA-1; Fri, 11 Oct 2024 09:20:01 -0400 X-MC-Unique: NLo6iy8EMTO_dYKIdZyhQA-1 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 868C319560BD; Fri, 11 Oct 2024 13:19:59 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.39.193.77]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 894381956052; Fri, 11 Oct 2024 13:19:55 +0000 (UTC) From: Thomas Huth To: qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex?= =?utf-8?q?_Benn=C3=A9e?= Cc: Guenter Roeck , Yoshinori Sato , Magnus Damm , qemu-arm@nongnu.org, Thomas Huth Subject: [PATCH 00/17] Convert the Avocado tuxrun tests into new functional tests Date: Fri, 11 Oct 2024 15:19:17 +0200 Message-ID: <20241011131937.377223-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 Received-SPF: pass client-ip=170.10.129.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.15, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org This patch series converts the tests/avocado/tuxrun_baselines.py to the new functional test framework. While converting the sh4 test, I noticed that the Avocado test was completely broken, so I included a fix (revert) for that problem in this series, too. Thomas Huth (17): tests/functional: Add a base class for the TuxRun tests tests/functional: Convert the Avocado ppc64 tuxrun tests tests/functional: Convert the Avocado aarch64 tuxrun tests tests/functional: Convert the Avocado sparc64 tuxrun test tests/functional: Convert the Avocado s390x tuxrun test tests/functional: Convert the Avocado arm tuxrun tests tests/functional: Convert the Avocado riscv32 tuxrun tests tests/functional: Convert the Avocado riscv64 tuxrun tests tests/functional: Convert the Avocado i386 tuxrun test tests/functional: Convert the Avocado x86_64 tuxrun test tests/functional: Convert the Avocado mips tuxrun test tests/functional: Convert the Avocado mipsel tuxrun test tests/functional: Convert the Avocado mips64 tuxrun test tests/functional: Convert the Avocado mips64el tuxrun test tests/functional: Convert the Avocado ppc32 tuxrun test Revert "hw/sh4/r2d: Realize IDE controller before accessing it" tests/functional: Convert the Avocado sh4 tuxrun test MAINTAINERS | 4 +- hw/sh4/r2d.c | 2 +- tests/avocado/tuxrun_baselines.py | 620 ----------------------- tests/functional/meson.build | 28 + tests/functional/qemu_test/tuxruntest.py | 158 ++++++ tests/functional/test_aarch64_tuxrun.py | 50 ++ tests/functional/test_arm_tuxrun.py | 70 +++ tests/functional/test_i386_tuxrun.py | 35 ++ tests/functional/test_mips64_tuxrun.py | 35 ++ tests/functional/test_mips64el_tuxrun.py | 35 ++ tests/functional/test_mips_tuxrun.py | 36 ++ tests/functional/test_mipsel_tuxrun.py | 36 ++ tests/functional/test_ppc64_tuxrun.py | 110 ++++ tests/functional/test_ppc_tuxrun.py | 35 ++ tests/functional/test_riscv32_tuxrun.py | 38 ++ tests/functional/test_riscv64_tuxrun.py | 38 ++ tests/functional/test_s390x_tuxrun.py | 34 ++ tests/functional/test_sh4_tuxrun.py | 57 +++ tests/functional/test_sparc64_tuxrun.py | 34 ++ tests/functional/test_x86_64_tuxrun.py | 36 ++ 20 files changed, 869 insertions(+), 622 deletions(-) delete mode 100644 tests/avocado/tuxrun_baselines.py create mode 100644 tests/functional/qemu_test/tuxruntest.py create mode 100755 tests/functional/test_aarch64_tuxrun.py create mode 100755 tests/functional/test_arm_tuxrun.py create mode 100755 tests/functional/test_i386_tuxrun.py create mode 100755 tests/functional/test_mips64_tuxrun.py create mode 100755 tests/functional/test_mips64el_tuxrun.py create mode 100755 tests/functional/test_mips_tuxrun.py create mode 100755 tests/functional/test_mipsel_tuxrun.py create mode 100755 tests/functional/test_ppc64_tuxrun.py create mode 100755 tests/functional/test_ppc_tuxrun.py create mode 100755 tests/functional/test_riscv32_tuxrun.py create mode 100755 tests/functional/test_riscv64_tuxrun.py create mode 100755 tests/functional/test_s390x_tuxrun.py create mode 100755 tests/functional/test_sh4_tuxrun.py create mode 100755 tests/functional/test_sparc64_tuxrun.py create mode 100755 tests/functional/test_x86_64_tuxrun.py