From c8756034b7a86e76040957403f2b67ceb4d2e2a6 Mon Sep 17 00:00:00 2001 From: David Gibson Date: Thu, 18 Aug 2022 16:13:50 +1000 Subject: test: Split cppcheck and clang-tidy tests into different files Both clang-tidy and cppcheck linting are handled by the same test file, test/build/static_checkers. The two linters are independent of each other though, and each one takes quite a long time. Split them into separate files to make it easier to control which are executed from the top level test script. Signed-off-by: David Gibson --- test/build/cppcheck | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test/build/cppcheck (limited to 'test/build/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 + +htools cppcheck + +test Run cppcheck +host make cppcheck -- cgit v1.2.3