From patchwork Thu Mar 4 13:50:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1447318 X-Patchwork-Delegate: trini@ti.com Return-Path: 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=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) 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=aOcNJopm; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4Drsjs322jz9sSC for ; Fri, 5 Mar 2021 00:52:01 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0745F82700; Thu, 4 Mar 2021 14:51: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=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="aOcNJopm"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 79FE1826FB; Thu, 4 Mar 2021 14:51:50 +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.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) (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 0692B825C6 for ; Thu, 4 Mar 2021 14:51:46 +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-oi1-x236.google.com with SMTP id s73so4356368oie.1 for ; Thu, 04 Mar 2021 05:51:46 -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=QJRRm58nRd/NoSIlTCbiSRqHLj1qoKm4tvZ4RjGkfF0=; b=aOcNJopmbPGExGmuTtN7SNUg+zhZbTTwZe7UwGpJuh2Rqn8vHNs2gGF7k/HG6cwowJ fTfqZHc4PA9K9nPFlunCVODkgXD+ocsaQIeymBp7V+Ecl76hEvh9NlO7+7hP/Mw5G3v5 rNMhz/85MLl09aDQ4mHw+mRQhBYTzZBZh81ZA= 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=QJRRm58nRd/NoSIlTCbiSRqHLj1qoKm4tvZ4RjGkfF0=; b=WXKrLzZF79BpL0b+TSAi1VjCo4MGbFaf0kpktBI8ZE/1VSloslQSPWysgqnzxZSMO+ zfAindn3yciEt+6Ix3usJWPtLQy132sx9xFvJ42kfTQrH8lMBqOitO0s0MfaL8LdEP3l v5OFv/c+t0unq9grmD0C15f+eExcn1kWgbgTZW/SxM48+GGkmppLfzj7laTp8DoAqfhT QDFSICYdKH73+xV34C2fNzk5fMHPZYbfdAJ8Zi58074XeTeuL6LifonA0Yjkp32fvlDY Byxo54nEqL4+iDIZWnYwJ5Asnp0tJVzyDZbB7NXfzCJC4d7HdkVdCNVd0mL+EEr8jbmn KHIA== X-Gm-Message-State: AOAM531bA8Xmu0DQmli9iMa+IsV3NctZlDwcCmwbW9LycLtRkQ4YugxB +gU/LxGZrKy8uliEhr2eu2uAUz6Z7ECxJpBx X-Google-Smtp-Source: ABdhPJwS+AD7nH432Pou/V0QyPS/2tTUrvGCZETmzsF/2M7uXhnAlLT3KZqUZzRzRU6G9n8dUp9uGw== X-Received: by 2002:a05:6808:da:: with SMTP id t26mr2920916oic.77.1614865905540; Thu, 04 Mar 2021 05:51:45 -0800 (PST) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id x10sm4029465otp.19.2021.03.04.05.51.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Mar 2021 05:51:45 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Heinrich Schuchardt , Stephen Warren , Stephen Warren , Simon Glass Subject: [PATCH v4 03/42] doc: Document make tcheck Date: Thu, 4 Mar 2021 06:50:39 -0700 Message-Id: <20210304135118.643277-4-sjg@chromium.org> X-Mailer: git-send-email 2.30.1.766.gb4fecdf3b7-goog In-Reply-To: <20210304135118.643277-1-sjg@chromium.org> References: <20210304135118.643277-1-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean Add a comment about this option in the documentation. Also mention the script that runs these combinations. Signed-off-by: Simon Glass --- (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(-) 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 -------