From 4c5907889553696160fabaa7e9f0c96ed1fa6597 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 13 Jan 2023 08:50:50 -0500 Subject: [PATCH] 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 Reviewed-by: Simon Glass --- .gitignore | 1 + tools/patman/.checkpatch.conf | 1 + 2 files changed, 2 insertions(+) create mode 120000 tools/patman/.checkpatch.conf diff --git a/.gitignore b/.gitignore index eb769f144c..3adf1faf4e 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 0000000000..c0e2020afe --- /dev/null +++ b/tools/patman/.checkpatch.conf @@ -0,0 +1 @@ +../../.checkpatch.conf \ No newline at end of file -- 2.39.5