X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=comprehensive-test;h=d8cf07d20ccebaa3366cd0c87d230669f028dc6d;hb=3f8b562ea10431add0ce06079f303f130d0280be;hp=12d63d6972ec467317de7bba67ab02ec002002d9;hpb=55b32c21451698763ebf9fa4a6e5ad035523f114;p=secnet.git diff --git a/comprehensive-test b/comprehensive-test index 12d63d6..d8cf07d 100755 --- a/comprehensive-test +++ b/comprehensive-test @@ -30,6 +30,29 @@ build_and_test () { x cd "$1" x "$srcdir/configure" CFLAGS='-O0 -g' x make $mflags all check + for t in mtest/check stest/check; do + x make $mflags clean + x make $mflags $t + done + x make $mflags clean + if [ "x$1" != x. ]; then + find -type f + else + git-ls-files -o + fi | perl -ne ' + s{^\./}{}; + s{^}{/}; + next if m{^/ct-files$}; + next if m{^/autom4te\.cache/}; + next if m{/Makefile$}; + next if m{\.mk$}; + next if m{^/common\.make$}; + next if m{^/(?:config|\.makefiles)\.stamp$}; + next if m{^/config\.(?:log|status|h)$}; + warn "clean in '"$1"' missed $_"; + $bad=1; + END { exit $bad; } + ' cd "$srcdir" }