Message ID | 20210203124447.2458527-3-sjg@chromium.org |
---|---|
State | Changes Requested |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=RBZkyrMu; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DW1dZ6jsFz9tlN for <incoming@patchwork.ozlabs.org>; Wed, 3 Feb 2021 23:46:26 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6D167827F3; Wed, 3 Feb 2021 13:46:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="RBZkyrMu"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8AF4B827EA; Wed, 3 Feb 2021 13:45:57 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id F03EA827D2 for <u-boot@lists.denx.de>; Wed, 3 Feb 2021 13:45:52 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-qv1-xf31.google.com with SMTP id u20so7506928qvx.7 for <u-boot@lists.denx.de>; Wed, 03 Feb 2021 04:45:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xWphxo1mrhHINRkURglmno4LkLNbhJYXEgkrqdtDCXk=; b=RBZkyrMuTwZFTx++JKopRl9HnZAyAQCEoKtveznkiUmjLuOTTOv8Uj8UXA2jP5aQAu nvjtro8uSVLE5YiD6ICAvbTFPCiVVBbfkCyIx1pX9jTnTlkuHp6Nemek5W3D/MWPY7i4 /3gB7GmRoJzV05QMMyC1vMF+n3VVjl2hMTCrw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xWphxo1mrhHINRkURglmno4LkLNbhJYXEgkrqdtDCXk=; b=QsH70O52TuiolvUgy2x0VJuGCSykXC8LEzezZa0QPjmZMrameEBbBK+H+8WuJzJ20A 2uB7sYtFaijeo6iIByHhkZBAIokrOFaY5oXvHB8ms2DNOhdLj4qSGd8uNQQ8zVobpzjt ceXjZj+eIVH/+tG0DgXa1KuoLXi+sGYk3OJ0Bpc6Rf0kZzRhYrazWzIWpJ72fGQAWYUX KOmYEAkCyHTx1vGiBqWEuoSWEbRvMIOcw5jguNlBPsMJd/jGWQ15F666QLFJoOHqbAab +djBM2iKKpimA9UX1zyTKB1AwVZoTi8B7yskx+teuTQfvMp2ShG9xS9XmK9CgmBpci5Y mfQQ== X-Gm-Message-State: AOAM531ZO+hL8h6nDVbOYqPOgg7mt11h+s+tZ3WcObjLE3UJ2hwSzaJq vLvU2y7W8m9gDWUWUHA2o0OQoOi4l3/1lE+Z X-Google-Smtp-Source: ABdhPJysJp9R+aI85rmuxa1yPU8M/bHxIzCOWhfbGEMszQCaL4maNFmhSyPAcDr9oVsl5KPDuAfBAg== X-Received: by 2002:a0c:8485:: with SMTP id m5mr2726382qva.14.1612356351547; Wed, 03 Feb 2021 04:45:51 -0800 (PST) Received: from sjg1.roam.corp.google.com ([50.225.158.38]) by smtp.gmail.com with ESMTPSA id p26sm1560903qkk.6.2021.02.03.04.45.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Feb 2021 04:45:50 -0800 (PST) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Stephen Warren <swarren@wwwdotorg.org>, Stephen Warren <swarren@nvidia.com>, Heinrich Schuchardt <xypron.glpk@gmx.de>, Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org> Subject: [PATCH v3 02/41] doc: Document make tcheck Date: Wed, 3 Feb 2021 05:44:08 -0700 Message-Id: <20210203124447.2458527-3-sjg@chromium.org> X-Mailer: git-send-email 2.30.0.365.g02bc693789-goog In-Reply-To: <20210203124447.2458527-1-sjg@chromium.org> References: <20210203124447.2458527-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
test: Refactor tests to have a single test runner
|
expand
|
diff --git a/doc/develop/testing.rst b/doc/develop/testing.rst index bc74eb53e35..f01ca4dc408 100644 --- a/doc/develop/testing.rst +++ b/doc/develop/testing.rst @@ -15,10 +15,20 @@ To run most tests on sandbox, type this:: in the U-Boot directory. Note that only the pytest suite is run using this command. -Some tests take ages to run. To run just the quick ones, type this:: +Some tests take ages to run and are marked with @pytest.mark.slow. To run just +the quick ones, type this:: make qcheck +It is also possible to run just the tests for tools (patman, binman, etc.). +Such tests are included with those tools, i.e. no actual U-Boot unit tests are +run. Type this:: + + make tcheck + +All of the above use the test/run script with a paremeter to select which tests +are run. + Sandbox -------
Add a comment about this option in the documentation. Also mention the script that runs these combinations. Signed-off-by: Simon Glass <sjg@chromium.org> --- (no changes since v2) Changes in v2: - Expand docs on how each type of test is marked doc/develop/testing.rst | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)