From patchwork Thu Aug 22 10:42:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 821325 Delivered-To: patch@linaro.org Received: by 2002:adf:e98a:0:b0:367:895a:4699 with SMTP id h10csp1113071wrm; Thu, 22 Aug 2024 03:43:41 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXjDj17z3NfmJxDychylKcjglusouRXwFn8oeOK9oBDCR0Eg8/MxV10MozSJH6nRipbKHwxig==@linaro.org X-Google-Smtp-Source: AGHT+IG6sBe1RsMCOhUemm3MKMOBBKeCB8uOwQcf34Geb5pwm233dMKVUfLI5xYGGMnEcVYwa0+Y X-Received: by 2002:a05:6358:93a5:b0:1ab:e07d:c93c with SMTP id e5c5f4694b2df-1b5a264caebmr637212055d.4.1724323420837; Thu, 22 Aug 2024 03:43:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1724323420; cv=none; d=google.com; s=arc-20160816; b=R3g8e2gXdZv4KZ8zratxOZJYRf4m1cDbJuwkF+7GLTFLXTAWf7s2DaBUjG2JJ9BRAb 6T3dZSCEYgMkg978s1AGWo4NepufPRwPSdgGmyUbED7Ca0BaDIGEIYqU+Zz2LyfD9t/x dtDm1h2hPpneZGd8O6y6vbE1j518fu9lZLmoyas0jgvg6WzaYtqGL55hipx/4m/MXILw 3xpW6WFtvMOvrQicu77lPGhB0ab7Borg+SWTq73kuh4H1YFDDmIScM0rQCklIy0o5mtM FY46ly4TTYLxXaRfqrdGgjNDeR4bB7AoRCU7ID1DZU/7h3Kq3Ouq89sV/O27K5XivfbK eq0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=zYTncKdl2H5JJa9yqMpXByipGyIEcUC+PC0v0Mplmdg=; fh=JWMo7U+4BCk7ne4VdTRvgfD9sI/rlhCmhpfgFUNOsTU=; b=dJWOOS+lbMyfZjkpyfInj7Di4Z8fqBH1uza5WRIPZTP6sdmO3EKlSFgOCG8Vxeewnn P5CyvXzvqoBqNXMvHxIvsX87ohRRqbLmzqJeWrMfR43l4tiH6pAJJtWpd3R3J9G/xAKM NkpAThkZwSP9Bgy8DNSxLPi9ekzfNmfd2hf6LL0XLEvIoSK1VyV5KoG+8FgrBn3Qwyto hJcCn9Mipwp5NgajANAia501FRyo3MW0JdpooixY4RfWceEkCzl4pl48rG0c9AuRp/R5 Ml+JZtcke0Z6bUMKJ1zH3alOr33BWmIWjeqIPeKPF75K0yyEAK8X/QcvZU9wvKt/wiNI 7w2w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D7PT5Bm+; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7a67f43dd07si135720585a.669.2024.08.22.03.43.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Aug 2024 03:43:40 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D7PT5Bm+; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org 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) 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-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) 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) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Wainer dos Santos Moschetta , Cleber Rosa , Thomas Huth , =?utf-8?q?P?= =?utf-8?q?hilippe_Mathieu-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 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Convert the single user-mode test. Warning, missing rework in tests/functional/meson.build, however dirty tested using: -- >8 -- --- $ make check-func-arm SPEED=thorough QEMU_TEST_ALLOW_UNTRUSTED_CODE=1 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é (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 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 = [ tests_arm_thorough = [ - '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 = dir.split('-')[0] - test_emulator = emulators['qemu-system-' + target_base] + test_emulator = 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())