2021-10-19 22:05:11 +00:00
|
|
|
# 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>
|
|
|
|
|
2021-10-21 07:41:13 +00:00
|
|
|
htools clang-tidy cppcheck
|
2021-10-19 22:05:11 +00:00
|
|
|
|
|
|
|
test Run clang-tidy
|
|
|
|
hout RET make clang-tidy; echo $?
|
|
|
|
check [ __RET__ -eq 0 ]
|
2021-10-21 07:41:13 +00:00
|
|
|
|
|
|
|
test Run cppcheck
|
|
|
|
hout RET make cppcheck; echo $?
|
|
|
|
check [ __RET__ -eq 0 ]
|