Index: libcaca/trunk/test/check-build
===================================================================
--- libcaca/trunk/test/check-build	(revision 4297)
+++ libcaca/trunk/test/check-build	(revision 4300)
@@ -28,5 +28,5 @@
 #
 failure=0
-for dir in caca src cxx examples ruby tools; do
+for dir in caca kernel src cxx examples ruby tools; do
   pushd ../$dir >/dev/null
   for x in $(make -s echo-sources); do
@@ -57,5 +57,6 @@
 warnings="$(grep -c Warning: ../doc/doxygen.log)"
 if test "$warnings" != "0"; then
-  echo "error: $warnings warnings in Doxygen generation"
+  echo "error: $warnings warnings in Doxygen generation:"
+  grep Warning: ../doc/doxygen.log | sed 's/\(.\{75\}\)...*/\1 .../'
   ret=1
 else
