mirror of
https://passt.top/passt
synced 2024-10-02 03:55:48 +00: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
@ -11,10 +11,7 @@
|
|||||||
# Copyright (c) 2021 Red Hat GmbH
|
# Copyright (c) 2021 Red Hat GmbH
|
||||||
# Author: Stefano Brivio <sbrivio@redhat.com>
|
# Author: Stefano Brivio <sbrivio@redhat.com>
|
||||||
|
|
||||||
htools clang-tidy cppcheck
|
htools clang-tidy
|
||||||
|
|
||||||
test Run clang-tidy
|
test Run clang-tidy
|
||||||
host make clang-tidy
|
host make clang-tidy
|
||||||
|
|
||||||
test Run cppcheck
|
|
||||||
host make cppcheck
|
|
17
test/build/cppcheck
Normal file
17
test/build/cppcheck
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/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
|
Loading…
Reference in New Issue
Block a user