aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-12-19 17:32:42 -0500
committerSimon Glass <sjg@chromium.org>2023-01-05 19:21:57 -0700
commita3997a0a00a03a85fd0ad4ca147763f17ba88b5b (patch)
tree0ba9ea7548abdf1f4a1db7704b9d66504faa6cb1
parent579916beb133ad74377964643c65c57fb3174cc6 (diff)
downloadu-boot-a3997a0a00a03a85fd0ad4ca147763f17ba88b5b.zip
u-boot-a3997a0a00a03a85fd0ad4ca147763f17ba88b5b.tar.gz
u-boot-a3997a0a00a03a85fd0ad4ca147763f17ba88b5b.tar.bz2
patman: add pytest configuration file
With this change, a user can run the patman test suite using Pytest the same as when using 'patman test': $ cd tools/patman && pytest [...] 44 passed, 8 warnings in 8.87s $ ./patman test Ran 44 tests in 8.460s Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
-rw-r--r--tools/patman/pytest.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/patman/pytest.ini b/tools/patman/pytest.ini
new file mode 100644
index 0000000..df3eb51
--- /dev/null
+++ b/tools/patman/pytest.ini
@@ -0,0 +1,2 @@
+[pytest]
+addopts = --doctest-modules