diff options
-rw-r--r-- | test/build/clang_tidy (renamed from test/build/static_checkers) | 5 | ||||
-rw-r--r-- | test/build/cppcheck | 17 | ||||
-rwxr-xr-x | test/run | 3 |
3 files changed, 20 insertions, 5 deletions
diff --git a/test/build/static_checkers b/test/build/clang_tidy index 34c8dff..0ead9e8 100644 --- a/test/build/static_checkers +++ b/test/build/clang_tidy @@ -11,10 +11,7 @@ # Copyright (c) 2021 Red Hat GmbH # Author: Stefano Brivio <sbrivio@redhat.com> -htools clang-tidy cppcheck +htools clang-tidy test Run clang-tidy host make clang-tidy - -test Run cppcheck -host make cppcheck diff --git a/test/build/cppcheck b/test/build/cppcheck new file mode 100644 index 0000000..05166dd --- /dev/null +++ b/test/build/cppcheck @@ -0,0 +1,17 @@ +# 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/cppcheck - Run source through cppcheck(1) linter +# +# Copyright (c) 2021 Red Hat GmbH +# Author: Stefano Brivio <sbrivio@redhat.com> + +htools cppcheck + +test Run cppcheck +host make cppcheck @@ -61,7 +61,8 @@ run() { setup build test build/all - test build/static_checkers + test build/cppcheck + test build/clang_tidy test distro/debian test distro/fedora test distro/opensuse |