summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-12-20 01:32:42 +0300
committerSimon Glass <sjg@chromium.org>2023-01-06 05:21:57 +0300
commita3997a0a00a03a85fd0ad4ca147763f17ba88b5b (patch)
tree0ba9ea7548abdf1f4a1db7704b9d66504faa6cb1 /tools
parent579916beb133ad74377964643c65c57fb3174cc6 (diff)
downloadu-boot-a3997a0a00a03a85fd0ad4ca147763f17ba88b5b.tar.xz
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>
Diffstat (limited to 'tools')
-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 0000000000..df3eb518d0
--- /dev/null
+++ b/tools/patman/pytest.ini
@@ -0,0 +1,2 @@
+[pytest]
+addopts = --doctest-modules