Provide JUnit output to Linux checkpatch.pl script
Project description
checkpatch-junit
A Python program to generate JUnit XML test result from Linux script checkpatch.pl output.
Then, this result can be consumed by continuous integration tools (Jenkins, GitLab CI ...) to provide nice information display.
Installation
Clone and install from GitHub
git clone https://github.com/mastiggia/checkpatch-junit
python setup.py install
Usage
checkpatch-junit [-h] [-c checkpatch.pl] [--checkpatch-args arg1,arg2,...]
[-o outfile.xml] [--ignore-check] [--ignore-warning]
FILE [FILE ...]
Provide JUnit output to Linux checkpatch.pl script
positional arguments:
FILE patch to analyze with checkpatch.pl
options:
-h, --help show this help message and exit
-c checkpatch.pl path to the checkpatch.pl script to use
--checkpatch-args arg1,arg2,...
extra arguments to pass to checkpatch.pl, separated by
commas instead of spaces
-o outfile.xml output JUnit XML file
--ignore-check ignore checkpatch.pl check messages
--ignore-warning ignore checkpatch.pl warning messages
Basic example:
checkpatch-junit -c scripts/checkpatch.pl --checkpatch-args=--no-tree *.patch -o checkpatch.xml
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
checkpatch-junit-0.0.1.tar.gz
(16.0 kB
view details)
Built Distribution
File details
Details for the file checkpatch-junit-0.0.1.tar.gz
.
File metadata
- Download URL: checkpatch-junit-0.0.1.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74412ff2d9e34bbd40492b081799186cd108ebfff6f4ee2366be87fc91dcc991 |
|
MD5 | 493a5c000a868e2e75a01c71b7b41ba7 |
|
BLAKE2b-256 | 6236b43cee9500a00802fe5740b6bbfbbdf0f075447c3b367152c09682f93363 |
File details
Details for the file checkpatch_junit-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: checkpatch_junit-0.0.1-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d47664559ad6efc913ae0eef56ece87d3abc3bea2874b67e49da5299f77f776 |
|
MD5 | 781601c158c805b0ed262dbfccd0952f |
|
BLAKE2b-256 | 6b09f55a749c4ec623e97ad6ed7c95f57223fd2e0b0b4e581d84b15a7cad6ad5 |