diff options
| author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-01-13 08:50:50 -0500 |
|---|---|---|
| committer | Simon Glass <sjg@chromium.org> | 2023-01-18 14:55:41 -0700 |
| commit | 4c5907889553696160fabaa7e9f0c96ed1fa6597 (patch) | |
| tree | fce83e6803f2db38a3d5f2393db231f553261d65 | |
| parent | da413b56356c0c95c10ecb8e73ec31d160c7024a (diff) | |
patman: symlink top level .checkpatch.conf
This makes it possible to run the patman test suite simply by invoking
'pytest' from the patman sub-directory:
$ cd tools/patman
$ pytest
Otherwise, the top level .checkpatch.conf would be ignored and
multiple test_checkpatch.py tests would fail.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
| -rw-r--r-- | .gitignore | 1 | ||||
| l--------- | tools/patman/.checkpatch.conf | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index eb769f144c3..3adf1faf4e7 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ # Normal rules (sorted alphabetically) # .* +!.checkpatch.conf *.a *.asn1.[ch] *.bin diff --git a/tools/patman/.checkpatch.conf b/tools/patman/.checkpatch.conf new file mode 120000 index 00000000000..c0e2020afe4 --- /dev/null +++ b/tools/patman/.checkpatch.conf @@ -0,0 +1 @@ +../../.checkpatch.conf
\ No newline at end of file |
