mirror of
https://passt.top/passt
synced 2025-06-02 06:15:33 +02:00
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>
This commit is contained in:
parent
a8598c7e70
commit
c8756034b7
3 changed files with 20 additions and 5 deletions
test/build
17
test/build/clang_tidy
Normal file
17
test/build/clang_tidy
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue