From nobody Fri Oct 23 14:30:59 2026 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=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1792222849; cv=none; d=zohomail.com; s=zohoarc; b=RlV59jSMbDISjuxJmA6nukRRrulAyMZ36rwWRtLNCB+m6Agf/ENn5y80WaGdvDzpx8WBZ3LoDA634IXhEbG4dc/ivlEj8toeOaVO6BBgRyqFfaV+ixcIljSzxHGaBjSBxUG7QMPv1c93b6I2a7hXsmxAF4YnRnJ2/b03HuUsRX4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1792222849; h=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=HtljW4DmVGbgU/K5oim3BhKj8uBEOHaHFFbooZ/PVtA=; b=ILLF4Py0pLaxqsP/rAQrgyITlmXU3Hg4TjzZI15ryPam0/ozuEB0C22e/FNIn9KjRaIAHkD95+8kY3HhFGhALSuvJOc3cFrWFNRQTmPaowKjPQ//v3hFEMPISmrYfvMXm1u2Ql+9KiR+0hUoxNhOnc/2TgOLxiN6+S4Su+4OOXQ= 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=quarantine dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1792222849796120.26703876820125; Sat, 17 Oct 2026 00:40:49 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xHz1P-0006Km-04; Sat, 17 Oct 2026 03:40:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xHz1N-0006Jv-2w for qemu-devel@nongnu.org; Sat, 17 Oct 2026 03:40:01 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xHz1K-0000Gb-V4 for qemu-devel@nongnu.org; Sat, 17 Oct 2026 03:40:00 -0400 Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-582-O6nc-1pVN6G8XjqCYX1NZA-1; Sat, 17 Oct 2026 07:39:55 +0000 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-49cdc4080ddso3877805e9.1 for ; Sat, 17 Oct 2026 00:39:55 -0700 (PDT) Received: from [192.168.10.48] ([176.206.82.153]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4a1c8de7230sm112672775e9.14.2026.10.17.00.39.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Oct 2026 00:39:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1792222797; 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=HtljW4DmVGbgU/K5oim3BhKj8uBEOHaHFFbooZ/PVtA=; b=Rbx1oU4UK3PptJes2f030KYavjElZaxyyXqkNaDKOkOWdt64+yXRKyQKEkQKsouLhpfnFm a+Zcl7Z4AQAGjYIhv/ws3Ux9LIoEY0/LxGOyr4xadsUzaIlxx99wSOynLY2mOLKf5N9rPv 3IGIlVczfZVUtKxchhWj5Eer+HE/IcE= X-MC-Unique: O6nc-1pVN6G8XjqCYX1NZA-1 X-Mimecast-MFC-AGG-ID: O6nc-1pVN6G8XjqCYX1NZA_1792222794 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1792222794; x=1792827594; 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:content-type; bh=HtljW4DmVGbgU/K5oim3BhKj8uBEOHaHFFbooZ/PVtA=; b=Qw7kbOA0luMshulpqHfB373J8uZbo12EI34yD/q16TRQxe/MRcjGd1UYxZU3pSrhVu bA4UxIifhvgylHEp6zpMjwBsKDv8Ei2IXxi2rg+zPiaM5Gynw42t5dXoh5wOrFriNQqh MHaiHjJwwMh/9MRF4mfwTV227cuVLJXxNQtkzhhcrputBDdvqz6w4UOfuPPT8TqqsBjF iSEa4iBoMXMBtjCERaDOrcgq40dJF2m46FRhVztnhvskIxiQW+RO1+of+9sK59mQZMQO VQngGG6dXq/PrgqnOfTvv/SS5ElJJzzpR7Y2xVXpO0WIcG3vtSpNd3sHfyICMAeW4PlZ O8Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792222794; x=1792827594; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=HtljW4DmVGbgU/K5oim3BhKj8uBEOHaHFFbooZ/PVtA=; b=1sWXa5UDuRoezpi+sUafAeDp4jsyYiTL/fY48sZ89JtdCVK1qb8FOfAHvdiApL0Bjl jeT1Pr17qRUkYy/ZCzE7ilViDoN4e6FnaKC0iklzd0DrwreOzEMb8Fl4i+Ut9ucK2r64 PT554q3BU4pQu8CRDhBdVM0isDZIepY671EWQpAHysfTM8L2kT9GpJuE3S1A5Teeqo9s 7DSWWTr4tZglUmuorkNaOCthdz6HZjb5t1oQg6BRU+Tp7eo3RfRydTmpjy6zO1H4lndR 61MG9Vu8yZQcwhxW7MhlbBXR2xlyFCbNKh/i1bYx3zVXezbf20UIgs3e0KAktp/pao/w mHfA== X-Gm-Message-State: AFq9FYKEkY+VU3Cl7t3+WMxzSybL1K63n+blnumt9X18a9tdIjTB8lQd V/C4ETspfxfsmDpcx6BoK2ygzLUOMcYkjOnzkNq/04ktf7G2dnhqOBYs5x49K1YrLJ7ny3wcZEb T0YXu5MtuUL1tsitFYuxlmqq+DuK011dBqIpjuSVU9tpTFIjRmtcr0RGqDtYQA0BJdoPEKgDqUP TZwQj4QVoJhMhF6ADqmU1LDjFkQo5r2AhZV8MnqUvp X-Gm-Gg: AYBFou1dzkBxDrNp9ZwQsZ8L/GAAFvx//IUWrlDzmzoIHGGjVRX9ixlMBIlowcE1BFA DfhD8oSC1jvs91Ic3tw10OUvL0DSevtZ/MLr+y/43HQTAYxy12a1QNv7yAqi6REEtLExdQ5536a qOQvEybdhSNx5g58LoRSPIxHtXvSRhvFCkM4JIAO1lib/K/xUBxAjtVmDbDDJSlPtx7mf23GhSb Ut15kxKr3jSk8c2otbZfEgxFxbqZMxAPjFVEXJoamq3XeI7OmJT1E2v7tK1HUOujbT/MpXTZW6d MCg+O9GP5yD2KyTaCoq51dbVuISetPPLf310C+NCgJz983dDafQdMeOI11MkAd1PJNPTs4LILLL yg+Br3bfkE16GSlWeLU23RA5COr44FEbVVujpXbctX79kcdHvvZziNuL/1v/oVSk3iN3gtBLVZ0 f9BuQl X-Received: by 2002:a05:600c:c8d:b0:49e:63cc:6324 with SMTP id 5b1f17b1804b1-4a1d75f2bacmr47477705e9.6.1792222794275; Sat, 17 Oct 2026 00:39:54 -0700 (PDT) X-Received: by 2002:a05:600c:c8d:b0:49e:63cc:6324 with SMTP id 5b1f17b1804b1-4a1d75f2bacmr47477415e9.6.1792222793944; Sat, 17 Oct 2026 00:39:53 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: pierrick.bouvier@oss.qualcomm.com Subject: [PATCH] tcg/tests: add an alias for all TCG tests of a target Date: Sat, 17 Oct 2026 09:39:52 +0200 Message-ID: <20261017073952.1346449-1-pbonzini@redhat.com> X-Mailer: git-send-email 2.56.0 MIME-Version: 1.0 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=lists1p.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -22 X-Spam_score: -2.3 X-Spam_bar: -- X-Spam_report: (-2.3 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.24, 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, SPF_HELO_PASS=-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.29 Precedence: list List-Id: qemu development 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 @redhat.com) X-ZM-MESSAGEID: 1792222852153158500 Content-Type: text/plain; charset="utf-8" Allow building (without running) all the TCG tests that are available for a target, so that they can be run manually. Signed-off-by: Paolo Bonzini Reviewed-by: Pierrick Bouvier Tested-by: Pierrick Bouvier --- docs/devel/testing/main.rst | 6 ++++-- tests/tcg/meson.build | 8 +++++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/devel/testing/main.rst b/docs/devel/testing/main.rst index fadb376eaf0..b0ca37fe2ba 100644 --- a/docs/devel/testing/main.rst +++ b/docs/devel/testing/main.rst @@ -1035,12 +1035,14 @@ See :ref:`container-ref` for more details. Running subset of tests ~~~~~~~~~~~~~~~~~~~~~~~ =20 -You can build the tcg tests using:: +You can build and run the TCG tests using respectively:: =20 make tcg-tests + make check-tcg-$TARGET =20 -And run them for one target with:: +Or for a single target:: =20 + make tcg-tests-$TARGET make check-tcg-$TARGET =20 Adding ``V=3D1`` to the invocation will show the details of how to diff --git a/tests/tcg/meson.build b/tests/tcg/meson.build index 4c0e30756d5..43886ac9269 100644 --- a/tests/tcg/meson.build +++ b/tests/tcg/meson.build @@ -197,6 +197,7 @@ image_targets =3D {} exe_targets =3D [] # Finally, we can create all test executables and test targets foreach target, plan: tcg_tests + target_exe_targets =3D [] if target.startswith('multiarch-') # those tests are included by architecture files if needed continue @@ -451,7 +452,7 @@ foreach target, plan: tcg_tests depends: exe_depends, depend_files: build_test_depend_files, build_by_default: false) - exe_targets +=3D exe + target_exe_targets +=3D exe built_tests +=3D {exe_name: exe} endif =20 @@ -538,6 +539,11 @@ foreach target, plan: tcg_tests added_tests +=3D {test_name: true} endforeach endforeach + if target_exe_targets.length() > 0 + # finally create a top level target to rebuild all tests for this targ= et + alias_target('tcg-tests-' + target, target_exe_targets) + endif + exe_targets +=3D target_exe_targets endforeach =20 if exe_targets.length() > 0 --=20 2.56.0