X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=debug%2Fcheck-configs;h=e8787bf951cdf4fade67e7a8e8f41e1da7f6e33e;hb=d9c55a4d021b4a317a25f14f89468d62592aae0b;hp=d796c429d2275961dc6dbf4c324876b3305c0679;hpb=f40ee1ad9edce6568e9a60be6b595e68160537d2;p=libucw.git diff --git a/debug/check-configs b/debug/check-configs index d796c429..e8787bf9 100755 --- a/debug/check-configs +++ b/debug/check-configs @@ -29,13 +29,13 @@ function try cd $TDIR exec 3>&2 >>log 2>&1 case $CONFIG in - *) ../../configure $CONFIG $ARGS || die "CANNOT CONFIGURE" + *) ../../configure $CONFIG CONFIG_LOCAL $ARGS || die "CANNOT CONFIGURE" ;; esac make $MAKEOPTS || die FAILED echo >&3 " COMPILATION PASSED" if [ -z "$SKIP_TESTS" ] ; then - make -k tests || die "TESTS FAILED" + make -k -j1 tests || die "TESTS FAILED" echo >&3 " TESTS PASSED" fi ) || ERR=1 @@ -44,15 +44,17 @@ function try rm -rf tests mkdir tests if [ "$1" == DARWIN ] ; then - # All tests on Darwin need CONFIG_SHARED, due to libcharset collision + # All tests on Darwin need CONFIG_SHARED, due to libucw-charset collision # only visible with static linking. FLAGS="CONFIG_SHARED" try debug/default.cfg $FLAGS CONFIG_UCW_PCRE # `make tests' does not work with non-local builds with shared libs elif [ -n "$1" ] ; then try "$@" else - try default.cfg + try default.cfg # default configuration + try default.cfg -CONFIG_DEBUG # with no debugging code try debug/default.cfg # debugging configuration + try debug/default.cfg -CONFIG_SHARED # statically linked try debug/default.cfg -CONFIG_UCW_THREADS # non-threaded configuration try debug/default.cfg -CONFIG_UCW_TLS # threaded, but no TLS support in gcc try debug/default.cfg -CONFIG_UCW_EPOLL -CONFIG_UCW_MONOTONIC_CLOCK # without epoll and monotonic clock