summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-10-25 23:20:44 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-10-27 03:11:31 +0200
commitf3fb09a475ef5e06c7cf57df8ca86afecec913d7 (patch)
tree9c4261fab4b7496579f29f12aaaf88bfeacc43c2 /src
parent8126e28024f5b34d1e97ac377040655e4d2b23a9 (diff)
makefile: include selftests in style check
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index e1d271e..fcfa069 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -63,7 +63,7 @@ tools-debug:
@$(MAKE) -C tools V=1 DEBUG_TOOLS=y
style:
- $(KERNELDIR)/scripts/checkpatch.pl -f --max-line-length=4000 --codespell --color=always $(filter-out wireguard.mod.c,$(wildcard *.c)) $(wildcard *.h)
+ $(KERNELDIR)/scripts/checkpatch.pl -f --max-line-length=4000 --codespell --color=always $(filter-out wireguard.mod.c,$(wildcard *.c)) $(wildcard *.h) $(wildcard selftest/*.c)
check: clean
scan-build --html-title=WireGuard -maxloop 100 --view --keep-going $(MAKE) module tools CONFIG_WIREGUARD_DEBUG=y C=2 CF="-D__CHECK_ENDIAN__"