6 oot_abs=$(cd .. && pwd)/oot-comprehensive-test.tmp~
8 nproc=$(nproc || echo 1)
13 --oot-abs=*) oot_abs=${arg%*=} ;;
14 *) echo >&2 "unknown arg/option $1"; exit 1;;
18 x () { echo >&2 "x $*"; "$@"; }
25 if [ "x$1" != x. ]; then
31 x "$srcdir/configure" CFLAGS='-O0 -g'
32 x make $mflags all check
33 for t in mtest/check stest/check; do
38 if [ "x$1" != x. ]; then
45 next if m{^/ct-files$};
46 next if m{^/autom4te\.cache/};
47 next if m{/Makefile$};
49 next if m{^/common\.make$};
50 next if m{^/(?:config|\.makefiles)\.stamp$};
51 next if m{^/config\.(?:log|status|h)$};
52 warn "clean in '"$1"' missed $_";
60 build_and_test "$oot_rel"
61 build_and_test "$oot_abs"
63 echo "----- $0 ok -----"