All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: U-Boot Mailing List <u-boot@lists.denx.de>
Cc: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>,
	Simon Glass <sjg@chromium.org>
Subject: [PATCH v2 7/8] patman: document how to run test suite via pytest
Date: Mon, 19 Dec 2022 09:52:56 -0500	[thread overview]
Message-ID: <20221219145258.32046-7-maxim.cournoyer@savoirfairelinux.com> (raw)
In-Reply-To: <20221219145258.32046-1-maxim.cournoyer@savoirfairelinux.com>

Pytest offers useful features such as selecting tests by means of a
regular expression, or running the pdb debugger upon encountering a
test failure.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
---

(no changes since v1)

 tools/patman/patman.rst | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tools/patman/patman.rst b/tools/patman/patman.rst
index 8c5c9cc2cc..b06399b459 100644
--- a/tools/patman/patman.rst
+++ b/tools/patman/patman.rst
@@ -680,6 +680,12 @@ them:
 
     $ tools/patman/patman test
 
+Alternatively, you can run the test suite via Pytest:
+
+.. code-block:: bash
+
+    $ cd tools/patman && pytest
+
 Error handling doesn't always produce friendly error messages - e.g.
 putting an incorrect tag in a commit may provide a confusing message.
 
-- 
2.38.1


  parent reply	other threads:[~2022-12-19 14:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-19 14:52 [PATCH v2 1/8] patman: cosmetic: Fix PEP 8 warnings for the gitutil module Maxim Cournoyer
2022-12-19 14:52 ` [PATCH v2 2/8] patman: locate test data files via __file__ and pathlib Maxim Cournoyer
2022-12-19 19:20   ` Simon Glass
2022-12-19 14:52 ` [PATCH v2 3/8] patman: invoke the checkpatch.pl script with '--u-boot' and '--strict' Maxim Cournoyer
2022-12-19 19:20   ` Simon Glass
2022-12-19 14:52 ` [PATCH v2 4/8] patman: rename main script to __main__.py Maxim Cournoyer
2022-12-19 19:20   ` Simon Glass
2022-12-19 14:52 ` [PATCH v2 5/8] patman: add pytest configuration file Maxim Cournoyer
2022-12-19 19:20   ` Simon Glass
2022-12-19 14:52 ` [PATCH v2 6/8] patman: hide the 'test' action unless test data is available Maxim Cournoyer
2022-12-19 19:20   ` Simon Glass
2022-12-19 14:52 ` Maxim Cournoyer [this message]
2022-12-19 19:20   ` [PATCH v2 7/8] patman: document how to run test suite via pytest Simon Glass
2022-12-19 14:52 ` [PATCH v2 8/8] patman: document default 'send' command Maxim Cournoyer
2022-12-19 19:20   ` Simon Glass
2022-12-19 19:20 ` [PATCH v2 1/8] patman: cosmetic: Fix PEP 8 warnings for the gitutil module Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221219145258.32046-7-maxim.cournoyer@savoirfairelinux.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=maxim.cournoyer@savoirfairelinux.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.