jjb: babeltrace: use clang-format-16
[lttng-ci.git] / scripts / babeltrace / lint.sh
index 9471f433b5f08d33c922a921db86acf7dfc583e6..5581c35fd0b1fb76a3fcc0be466071197ab0ce4f 100755 (executable)
@@ -61,8 +61,16 @@ 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
 
+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
This page took 0.023178 seconds and 4 git commands to generate.