From nobody Sun Nov 24 15:58:03 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=1722356710; cv=none; d=zohomail.com; s=zohoarc; b=LU7fMC1q8WmuXpPMerLZiQzL9/wrGwjIVydKe/77aOntjeEY0mOK451wBHyv4MlBwpdAHeJXyp+h/ERVvMZ5ysoyZRBsVeyH16SuNsvuk2q7odYP/n9lDFQbe7bpnB+EH61ihf9VWi+bRMxfmJYtkic5quj8wplV1EiTurnQaKA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1722356710; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=D5h3hA9rJCoPrXhXtX9PMhPKr74TW2tQR0MpOfcAcjo=; b=HUnaFXmjeftHT+VBYRa4MSJs3CD+PoUk/j93Ru4/qthxs5V60IkrBd2gRhBJETI4COz37LCeSR56Ty7qlmy9oyGvDHVs30gP6n1CA6jIVgSyCY4uhi8N8/6Hji+kfc6uWjE5AGNXapmjQA480jpJ4/PqW2iNhoJdBUbkRLvWFbk= 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 1722356710466712.8173796183797; Tue, 30 Jul 2024 09:25:10 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sYpcf-0008Sc-OH; Tue, 30 Jul 2024 12:22:49 -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 1sYpcd-0008K9-Ks for qemu-devel@nongnu.org; Tue, 30 Jul 2024 12:22:47 -0400 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sYpcb-0003Xm-Vh for qemu-devel@nongnu.org; Tue, 30 Jul 2024 12:22:47 -0400 Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-52f04c29588so8630818e87.3 for ; Tue, 30 Jul 2024 09:22:45 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7acad90e34sm662539466b.164.2024.07.30.09.22.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jul 2024 09:22:40 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 7B3325F9CC; Tue, 30 Jul 2024 17:22:38 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1722356564; x=1722961364; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=D5h3hA9rJCoPrXhXtX9PMhPKr74TW2tQR0MpOfcAcjo=; b=FcjYqtiha3YmnN3ZoHHlFU1tVyWvoHfx8Ng7aAyfd6rk/EDJa4sSSmtyYDKUbXNBCy syC54lqTbKEDvmnbZv6bpVOFJLXt2RMnBoUhetB89hBndwWRkqnyArbCviLMibHdvu6m eT91K4znIjNFi80WGfzlhZo7/ciZuD5q0bMKOkhyvLaE13yKPy384l5Wp9GVTgzGnoCQ k6iKwAh2UrZAZP3LpXNPk+klU1CV/XYtd1hZzeMQRjsbEZ881HD02ioJPo8U+LIl27jp xO7XuqtMFUmOr9/kYWnHq7JaxAFNSN6ZcfHkBxLnzFVr6R51hPk9v6mFA+g5njYGZ5yn rjTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722356564; x=1722961364; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=D5h3hA9rJCoPrXhXtX9PMhPKr74TW2tQR0MpOfcAcjo=; b=pdo+zSbslSIEvEJtHXnZiw8EJTz8frv5+tUdfwrFdxjh+ZNA7GVnL+A85uj5IFCKgc avDawBlYPQWyAaLe1OuM4cbF723K1kY3a7+ipdqnFv0D25qoJNn9CBk5yKUd5gxuWiX6 gAHFYD7TvXe8CoTgn4FYD0z/K0R4RakYeBQcKNF+rFs9mqct/Q+oAbjZDwXFZ+a1IXzR t0TsPwMJAcELd+U0Jwl/RG//sf+J6UfJbGA3S2Ocsy44xNDncAEDHFOpRd49hGkO50B2 UHJW6qHb+9uo+ysxE7altZtN+Z+AEKce4mvuCZEISRpfqc8GwFKcQq1LFlIWuhgUSxqH PVkA== X-Gm-Message-State: AOJu0YxImOyrWXl3YoneXFrXrg9TaLBaJSntLCFUzmcrVZQb2pxpF9po +E9AySKANzkiraVoO7s+RrpmOC0qM5Saab+Pw1J5Kh1BN8y0HX7GDsVG5SmJRJY= X-Google-Smtp-Source: AGHT+IEkGhkZUMmuVnhbHlHFnM8S4j5Crjw55lnORY7DKtdmh0BHS2zcfPVdpCuXNYzPdUprZm16xg== X-Received: by 2002:ac2:4f09:0:b0:530:ab86:3 with SMTP id 2adb3069b0e04-530ab8602a2mr1700605e87.1.1722356563626; Tue, 30 Jul 2024 09:22:43 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Richard Henderson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PULL 07/14] docs/devel: document how to run individual TCG tests Date: Tue, 30 Jul 2024 17:22:30 +0100 Message-Id: <20240730162237.1425515-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240730162237.1425515-1-alex.bennee@linaro.org> References: <20240730162237.1425515-1-alex.bennee@linaro.org> 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::130; envelope-from=alex.bennee@linaro.org; helo=mail-lf1-x130.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 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: 1722356711403116600 Since 6f6ca067d2 (tests/tcg: add some help output for running individual tests) we made it easier to run individual tests for a given architecture. Lets reference that in the developer documentation. Reviewed-by: Richard Henderson Signed-off-by: Alex Benn=C3=A9e Message-Id: <20240729144414.830369-8-alex.bennee@linaro.org> diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst index b984c5dd26..af73d3d64f 100644 --- a/docs/devel/testing.rst +++ b/docs/devel/testing.rst @@ -1490,6 +1490,19 @@ And run with:: Adding ``V=3D1`` to the invocation will show the details of how to invoke QEMU for the test which is useful for debugging tests. =20 +Running individual tests +~~~~~~~~~~~~~~~~~~~~~~~~ + +Tests can also be run directly from the test build directory. If you +run ``make help`` from the test build directory you will get a list of +all the tests that can be run. Please note that same binaries are used +in multiple tests, for example:: + + make run-plugin-test-mmap-with-libinline.so + +will run the mmap test with the ``libinline.so`` TCG plugin. The +gdbstub tests also re-use the test binaries but while exercising gdb. + TCG test dependencies ~~~~~~~~~~~~~~~~~~~~~ =20 --=20 2.39.2