96679fb26d9752316e6781715e1d438d0848bc67 blob 1209 bytes (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
| | #! /bin/sh
#
# SPDX-License-Identifier: GPL-2.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/static_checkers.sh - Run static checkers
#
# Copyright Red Hat
# Author: David Gibson <david@gibson.dropbear.id.au>
. $(dirname ${0})/../exeter/sh/exeter.sh
# do_check() - Run static checker as a test if the binary is available
# $1: Static checker (uased as both executable name and make target)
# $@: Any additional arguments required to make
do_check() {
checker="${1}"
shift
if ! which "${checker}" >/dev/null 2>/dev/null; then
exeter_skip "${checker} not available"
fi
make "${@}" "${checker}"
}
exeter_register cppcheck do_check cppcheck -C ..
exeter_set_description cppcheck "passt sources pass cppcheck"
exeter_register clang_tidy do_check clang-tidy -C ..
exeter_set_description clang_tidy "passt sources pass clang-tidy"
exeter_register flake8 do_check flake8
exeter_set_description flake8 "passt tests in Python pass flake8"
exeter_register mypy do_check mypy
exeter_set_description mypy "passt tests in Python pass mypy --strict"
exeter_main "${@}"
|
debug log:
solving 96679fb2 ...
found 96679fb2 in https://archives.passt.top/passt-dev/20251010034549.1821828-4-david@gibson.dropbear.id.au/
found 228b99ae in https://passt.top/passt
preparing index
index prepared:
100755 228b99aeae9c0760f89235268d1803e604febfa1 test/build/static_checkers.sh
applying [1/1] https://archives.passt.top/passt-dev/20251010034549.1821828-4-david@gibson.dropbear.id.au/
diff --git a/test/build/static_checkers.sh b/test/build/static_checkers.sh
index 228b99ae..96679fb2 100755
Checking patch test/build/static_checkers.sh...
Applied patch test/build/static_checkers.sh cleanly.
index at:
100755 96679fb26d9752316e6781715e1d438d0848bc67 test/build/static_checkers.sh
Code repositories for project(s) associated with this public inbox
https://passt.top/passt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).