diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-08-18 16:13:50 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-08-20 19:07:12 +0200 |
commit | c8756034b7a86e76040957403f2b67ceb4d2e2a6 (patch) | |
tree | db06dddd7beb3eb2e41b85a996a730e75f85f8d4 /test/build/clang_tidy | |
parent | a8598c7e70df60e1193993ac6b7c4c729518c7aa (diff) | |
download | passt-c8756034b7a86e76040957403f2b67ceb4d2e2a6.tar passt-c8756034b7a86e76040957403f2b67ceb4d2e2a6.tar.gz passt-c8756034b7a86e76040957403f2b67ceb4d2e2a6.tar.bz2 passt-c8756034b7a86e76040957403f2b67ceb4d2e2a6.tar.lz passt-c8756034b7a86e76040957403f2b67ceb4d2e2a6.tar.xz passt-c8756034b7a86e76040957403f2b67ceb4d2e2a6.tar.zst passt-c8756034b7a86e76040957403f2b67ceb4d2e2a6.zip |
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 <david@gibson.dropbear.id.au>
Diffstat (limited to 'test/build/clang_tidy')
-rw-r--r-- | test/build/clang_tidy | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/build/clang_tidy b/test/build/clang_tidy new file mode 100644 index 0000000..0ead9e8 --- /dev/null +++ b/test/build/clang_tidy @@ -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/clang_tidy - Run source through clang-tidy(1) linter +# +# Copyright (c) 2021 Red Hat GmbH +# Author: Stefano Brivio <sbrivio@redhat.com> + +htools clang-tidy + +test Run clang-tidy +host make clang-tidy |