[PATCH 6/9] patman: add pytest configuration file
Maxim Cournoyer
maxim.cournoyer at gmail.com
Mon Dec 19 02:59:19 CET 2022
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
Signed-off-by: Maxim Cournoyer <maxim.cournoyer at savoirfairelinux.com>
---
tools/patman/pytest.ini | 2 ++
1 file changed, 2 insertions(+)
create mode 100644 tools/patman/pytest.ini
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
--
2.38.1
More information about the U-Boot
mailing list