From nobody Sun Nov 24 10:58:17 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1724323420; cv=none; d=zohomail.com; s=zohoarc; b=CsOl+KVLhFvnbVPLLEivq2gVOHoUOqgNBNdK3qkDe7AyH3wmto6b4PY30JdcC5xP31JVsOp/u9XLL8PUd0aqhjmtXTlKkJi/t0xvILJtGtAMEgv0618Y0rjlUqvI6e44kRaCKP1lwHXm47L4AZMqZiJlwZdHCzyEP9b+S/ucA9g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1724323420; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=zYTncKdl2H5JJa9yqMpXByipGyIEcUC+PC0v0Mplmdg=; b=SG7XWoSimk1Kx9Le+yLYRrXAYQC3h23Vxcs3jnf/ijqmbWum3kPlE0YqhxjupP/j5B9RPAZy8eKgAYzOZwZEK2UVJKRi1T83CL5e4ORmY9i1lyAOZhBk6wUmBKlif3l9+FnIXhUUkqCL2BNlQZpSOvxRxPurxnBagd6CBg43G/M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1724323420968177.54194935231203; Thu, 22 Aug 2024 03:43:40 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sh5HE-0003DS-Li; Thu, 22 Aug 2024 06:42:48 -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 1sh5HD-0003Cy-6M for qemu-devel@nongnu.org; Thu, 22 Aug 2024 06:42:47 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sh5HB-00019e-G0 for qemu-devel@nongnu.org; Thu, 22 Aug 2024 06:42:46 -0400 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-371893dd249so284021f8f.2 for ; Thu, 22 Aug 2024 03:42:44 -0700 (PDT) Received: from m1x-phil.lan ([176.187.206.153]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37308265ae6sm1348923f8f.109.2024.08.22.03.42.40 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 22 Aug 2024 03:42:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1724323362; x=1724928162; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=zYTncKdl2H5JJa9yqMpXByipGyIEcUC+PC0v0Mplmdg=; b=D7PT5Bm+hmSACyPHmmBspcHzBz9ltccmGV81ETNBee3AXHCvbCmBQhcggmVZA+Ww14 dZTpmOu7OaTLt0VLV0BfDgN/yjaGuKHJBRs1WIgL7VBPQskuG6okyuVWSj9orTa9chG/ kynV8agtwQSXsdz5xEsdVHPMO1b1HZp0y5cbCOhEHTH8GWysdlpV2kh3Ag7AtNevekRE Uzg+Z+6YaGxEmpTEN+40kKJCaf8E9yz5iFty0l5kV1UE2qVj64wlbp2Rye6beD+g2zNC zp4teUd/1Xfkd6Q98fnmOhFugjAy7Le4O8O14YYOPppxtZPWsI9zw9mTLWqlsLI2itJk /qMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724323362; x=1724928162; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zYTncKdl2H5JJa9yqMpXByipGyIEcUC+PC0v0Mplmdg=; b=Y1A2ww6Qn7lkAld5APyqmodaP5741HdjYqW5Z31SSsFoORslngSXbZJoFuWbVcfGDP pa3m89PYCC2GRP15q9MNiE+b2gh41qEc+bbGIYlXQeRDjt1Ay0wxujIEYPGlVhJt4ZZU /FUzc8Iv4dfT1E7vGz6k25TFwZdK7CCv7ok5Ebq2Nu8aXpPFoYrW6Zd11BKdbgrbqX9O T5k05G4w+bZAMVfpQuALWPbFplwPg705B2I27J4MmD6sK29x+x0FHjVlIJB60oi4ma1C 4dMEixgy7LQLHCJeAxbrwJJA9Ddi9ZP4y3vW6ebAYs/tW3yESTMEbotfrZvFdQnA+vNV 1luQ== X-Gm-Message-State: AOJu0YzLdjpQUbDOWuuc0eByWQ47q7WEcgqdamWVEFV9sEcW/BAEJsUV d0FtpfEtBBjXBmVU/zerL54QOLn7PNZNiC9adHybdRQmlkIGoR5B/oeePVswSjEAbkkn+RBF86F u X-Google-Smtp-Source: AGHT+IE+SW7WIbINgFMdPe7tdCOqu7Qe3axPi5CieLB/8GeDq5c2e3hSlRJiQyKw9AlRJ+4A3g/WGg== X-Received: by 2002:a5d:4bc5:0:b0:368:3b1a:8350 with SMTP id ffacd0b85a97d-372fd58d51fmr2902239f8f.19.1724323362137; Thu, 22 Aug 2024 03:42:42 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Wainer dos Santos Moschetta , Cleber Rosa , Thomas Huth , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Beraldo Leal Subject: [PATCH 0/3] tests/functional: Convert ARM bFLT linux-user avocado test Date: Thu, 22 Aug 2024 12:42:35 +0200 Message-ID: <20240822104238.75045-1-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 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+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=philmd@linaro.org; helo=mail-wr1-x433.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1724323422793116600 Convert the single user-mode test. Warning, missing rework in tests/functional/meson.build, however dirty tested using: -- >8 -- diff --git a/tests/functional/meson.build b/tests/functional/meson.build index f8e482a87c..44f8c2aa48 100644 --- a/tests/functional/meson.build +++ b/tests/functional/meson.build @@ -29,4 +29,3 @@ tests_generic =3D [ tests_arm_thorough =3D [ - 'arm_canona1100', - 'arm_n8x0', + 'arm_bflt', ] @@ -124,3 +123,3 @@ foreach speed : ['quick', 'thorough'] foreach dir : target_dirs - if not dir.endswith('-softmmu') + if dir.endswith('-softmmu') continue @@ -129,3 +128,3 @@ foreach speed : ['quick', 'thorough'] target_base =3D dir.split('-')[0] - test_emulator =3D emulators['qemu-system-' + target_base] + test_emulator =3D emulators['qemu-' + target_base] @@ -146,3 +145,3 @@ foreach speed : ['quick', 'thorough'] test_env.set('QEMU_TEST_QEMU_BINARY', - meson.global_build_root() / 'qemu-system-' + target_base) + meson.global_build_root() / 'qemu-' + target_base) test_env.set('QEMU_BUILD_ROOT', meson.project_build_root()) --- $ make check-func-arm SPEED=3Dthorough QEMU_TEST_ALLOW_UNTRUSTED_CODE=3D1 1/1 qemu:func-thorough+func-arm-thorough+thorough / func-arm-arm_bflt OK= 0.22s 1 subtests passed Based-on: <20240821082748.65853-1-thuth@redhat.com> Based-on: <20240822095045.72643-1-philmd@linaro.org> Philippe Mathieu-Daud=C3=A9 (3): tests/functional: Add QemuUserTest class tests/functional: Convert ARM bFLT linux-user avocado test tests/avocado: Remove unused QemuUserTest class tests/avocado/avocado_qemu/__init__.py | 19 +-------- tests/avocado/load_bflt.py | 54 -------------------------- tests/functional/qemu_test/__init__.py | 2 +- tests/functional/qemu_test/testcase.py | 17 ++++++++ tests/functional/qemu_test/utils.py | 9 +++++ tests/functional/test_arm_bflt.py | 44 +++++++++++++++++++++ 6 files changed, 72 insertions(+), 73 deletions(-) delete mode 100644 tests/avocado/load_bflt.py create mode 100755 tests/functional/test_arm_bflt.py --=20 2.45.2