patman: Add a functional test
The existing test (patman --test) only covers basic checkpatch output. We have had some problems with unicode processing and could use test coverage for the various tags patman supports. Add a new functional test which runs most of the patman flow on a few test commits and checks that the results are correct. See the documentation in the test for a description of what it does. Signed-off-by:Simon Glass <sjg@chromium.org> Tested-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Showing
- tools/patman/func_test.py 242 additions, 0 deletionstools/patman/func_test.py
- tools/patman/patchstream.py 13 additions, 0 deletionstools/patman/patchstream.py
- tools/patman/patman.py 4 additions, 2 deletionstools/patman/patman.py
- tools/patman/test/0000-cover-letter.patch 23 additions, 0 deletionstools/patman/test/0000-cover-letter.patch
- tools/patman/test/0001-pci-Correct-cast-for-sandbox.patch 48 additions, 0 deletionstools/patman/test/0001-pci-Correct-cast-for-sandbox.patch
- tools/patman/test/0002-fdt-Correct-cast-for-sandbox-in-fdtdec_setup_memory_.patch 73 additions, 0 deletions...dt-Correct-cast-for-sandbox-in-fdtdec_setup_memory_.patch
- tools/patman/test/test01.txt 56 additions, 0 deletionstools/patman/test/test01.txt
Loading
Please register or sign in to comment