git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
579916b
)
patman: add pytest configuration file
author
Maxim Cournoyer
<maxim.cournoyer@gmail.com>
Mon, 19 Dec 2022 22:32:42 +0000
(17:32 -0500)
committer
Simon Glass
<sjg@chromium.org>
Fri, 6 Jan 2023 02:21:57 +0000
(19:21 -0700)
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>
tools/patman/pytest.ini
[new file with mode: 0644]
patch
|
blob
diff --git a/tools/patman/pytest.ini
b/tools/patman/pytest.ini
new file mode 100644
(file)
index 0000000..
df3eb51
--- /dev/null
+++ b/
tools/patman/pytest.ini
@@ -0,0
+1,2
@@
+[pytest]
+addopts = --doctest-modules