]> git.baikalelectronics.ru Git - uboot.git/commit
patman: Add a functional test
authorSimon Glass <sjg@chromium.org>
Mon, 29 May 2017 21:31:31 +0000 (15:31 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 9 Jun 2017 02:21:59 +0000 (20:21 -0600)
commite2cb71b1dfb53ebe1055431c23d61cc5ebf618ce
tree9c604a63b0fe8a2d9c6f475c98ad7ebffd7c1c81
parent2260bf183d07d6d10a59ff420c4a07e1f7572451
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>
tools/patman/func_test.py [new file with mode: 0644]
tools/patman/patchstream.py
tools/patman/patman.py
tools/patman/test/0000-cover-letter.patch [new file with mode: 0644]
tools/patman/test/0001-pci-Correct-cast-for-sandbox.patch [new file with mode: 0644]
tools/patman/test/0002-fdt-Correct-cast-for-sandbox-in-fdtdec_setup_memory_.patch [new file with mode: 0644]
tools/patman/test/test01.txt [new file with mode: 0644]