<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/tools/patman/test_checkpatch.py, branch v2020.10</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/tools/patman/test_checkpatch.py?h=v2020.10</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/tools/patman/test_checkpatch.py?h=v2020.10'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2020-08-04T02:19:54Z</updated>
<entry>
<title>checkpatch: Don't allow common.h and dm.h in headers</title>
<updated>2020-08-04T02:19:54Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-07-19T16:16:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=23552ba142860205c4ddec414417cdc251f8cb79'/>
<id>urn:sha1:23552ba142860205c4ddec414417cdc251f8cb79</id>
<content type='text'>
These headers should not be included in other header files. Add a
checkpatch rule and test for this.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Fix up the test comments</title>
<updated>2020-08-04T02:19:54Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-07-19T16:16:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4620d46bf0aa00df3857a5883b790da3d12995dd'/>
<id>urn:sha1:4620d46bf0aa00df3857a5883b790da3d12995dd</id>
<content type='text'>
Many of the tests have the same comment and two have the same name. Fix
this.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>checkpatch: Don't warn about PREFER_IF in headers/DT files</title>
<updated>2020-07-10T00:57:22Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-06-14T16:54:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8af45b1f20f7f56a872297873f793655fe37f8e3'/>
<id>urn:sha1:8af45b1f20f7f56a872297873f793655fe37f8e3</id>
<content type='text'>
This warning should only be displayed for C files. Fix it and update the
test.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Add tests for the rest of the checkpatch checks</title>
<updated>2020-07-10T00:57:22Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-06-14T16:54:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5c430761e6a618032498fe294376a15a7ed1ee0b'/>
<id>urn:sha1:5c430761e6a618032498fe294376a15a7ed1ee0b</id>
<content type='text'>
Finish off the tests for our small collection of checkpatch checks.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Decode output from the '--show-types' option</title>
<updated>2020-07-10T00:57:22Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-06-14T16:54:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=89fb8b75bce61c53867f80392cdef9cfc5dbc9cd'/>
<id>urn:sha1:89fb8b75bce61c53867f80392cdef9cfc5dbc9cd</id>
<content type='text'>
Collect the 'checkpatch type' from each error, warning and check. Provide
this to patman and update the uclass test to use it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Add a test for the 'possible new uclass' check</title>
<updated>2020-07-10T00:57:22Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-06-14T16:54:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4148c20f533d908a4255c134601b335322a0d38f'/>
<id>urn:sha1:4148c20f533d908a4255c134601b335322a0d38f</id>
<content type='text'>
It is quite likely that the number of U-Boot-specific tests in
checkpatch.pl will increase over time. We should have tests for these to
avoid undefined behaviour and bugs being introduced, which might cause
people to ignore the warnings.

Add a simple new class that can generate a patch with a single-line
addition in it. Use that to add a test for one of the checkpatch checks.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Rename test.py to test_checkpatch.py</title>
<updated>2020-07-10T00:57:22Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-06-14T16:54:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=40d9734cb17897329389230c7ebd9502c95c899b'/>
<id>urn:sha1:40d9734cb17897329389230c7ebd9502c95c899b</id>
<content type='text'>
These tests check checkpatch.pl operation and can server as our tests for
the U-Boot-specific updates to that script. Rename the file and update
comments to indicate this.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
