aboutgitcodebugslistschat
path: root/test/build/static_checkers
blob: d18dea8033fd091f8a076916bfc1750be5d6a64b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# SPDX-License-Identifier: AGPL-3.0-or-later
#
# PASST - Plug A Simple Socket Transport
#  for qemu/UNIX domain socket mode
#
# PASTA - Pack A Subtle Tap Abstraction
#  for network namespace/tap device mode
#
# test/build/clang_tidy - Run source through clang-tidy(1) linter
#
# Copyright (c) 2021 Red Hat GmbH
# Author: Stefano Brivio <sbrivio@redhat.com>

htools	clang-tidy cppcheck

test	Run clang-tidy
hout	RET make clang-tidy; echo $?
check	[ __RET__ -eq 0 ]

test	Run cppcheck
hout	RET make cppcheck; echo $?
check	[ __RET__ -eq 0 ]