Browse Source

dist/tools/ci/print_toolchain_versions.sh: add coccinelle

master
Kaspar Schleiser 6 years ago
parent
commit
d603367c08
  1. 12
      dist/tools/ci/print_toolchain_versions.sh

12
dist/tools/ci/print_toolchain_versions.sh vendored

@ -58,6 +58,17 @@ cppcheck_version() {
printf "%s" "$ver"
}
spatch_version() {
local cmd="spatch"
if command -v "$cmd" 2>&1 >/dev/null; then
ver=$("$cmd" --version | head -n 1)
else
ver="missing"
fi
printf "%s" "$ver"
}
printf "%s\n" "Installed toolchain versions"
printf "%s\n" "----------------------------"
VER=$(gcc --version | head -n 1)
@ -79,4 +90,5 @@ for p in avr; do
printf "%20s: %s\n" "$p-libc" "$(avr_libc_version "$p")"
done
printf "%20s: %s\n" "cppcheck" "$(cppcheck_version)"
printf "%20s: %s\n" "coccinelle" "$(spatch_version)"
exit 0

Loading…
Cancel
Save