X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Fbabeltrace%2Flint.sh;h=5581c35fd0b1fb76a3fcc0be466071197ab0ce4f;hb=HEAD;hp=e17799012f0686e8fe1753d246defc306b935577;hpb=b09f16b5dc891e325e3edb31af12c4ac72553a0d;p=lttng-ci.git diff --git a/scripts/babeltrace/lint.sh b/scripts/babeltrace/lint.sh index e177990..5581c35 100755 --- a/scripts/babeltrace/lint.sh +++ b/scripts/babeltrace/lint.sh @@ -61,7 +61,7 @@ else fi if [[ -f tools/format-cpp.sh ]]; then - FORMATTER="clang-format-15 -i" tools/format-cpp.sh + FORMATTER="clang-format-16 -i" tools/format-cpp.sh git diff --exit-code | tee ../../clang-format.out || exit_code=1 fi @@ -69,4 +69,8 @@ if [[ -f tools/shellcheck.sh ]]; then tools/shellcheck.sh | tee ../../shellcheck.out || exit_code=1 fi +if [[ -f tools/check-include-guards.sh ]]; then + tools/check-include-guards.sh | tee ../../check-include-guards.out || exit_code=1 +fi + exit $exit_code