Ignore:
Timestamp:
May 11, 2011, 11:04:08 PM (14 years ago)
Author:
katerina
Message:

Fix for ticket #251:Compile error if option --with-prelude is used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/testcompile.sh

    r341 r342  
    2121
    2222# dnmalloc + flawfinder + (36 * 3)
    23 MAXTEST=110; export MAXTEST
     23MAXTEST=116; export MAXTEST
    2424
    2525run_dnmalloc ()
     
    685685
    686686        #
     687        # test client/server compilation w/prelude
     688        #
     689        TEST="${S}client/server application w/prelude${E}"
     690        #
     691        if [ -z "$doall" ]; then
     692            let "num = num + 1" >/dev/null
     693            [ -z "$quiet" ] && log_skip $2 ${MAXTEST} "$TEST";
     694            let "num = num + 1" >/dev/null
     695            [ -z "$quiet" ] && log_skip $2 ${MAXTEST} "$TEST (smatch)";
     696            let "num = num + 1" >/dev/null
     697            [ -z "$quiet" ] && log_skip $2 ${MAXTEST} "$TEST (uno)";
     698
     699            let "num = num + 1" >/dev/null
     700            [ -z "$quiet" ] && log_skip $2 ${MAXTEST} "$TEST";
     701            let "num = num + 1" >/dev/null
     702            [ -z "$quiet" ] && log_skip $2 ${MAXTEST} "$TEST (smatch)";
     703            let "num = num + 1" >/dev/null
     704            [ -z "$quiet" ] && log_skip $2 ${MAXTEST} "$TEST (uno)";
     705        else
     706            if test -r "Makefile"; then
     707                $MAKE clean
     708            fi
     709            #
     710            ${TOP_SRCDIR}/configure --quiet --enable-network=client  --enable-srp --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test   --with-prelude > /dev/null 2>> test_log   
     711            #
     712            let "num = num + 1" >/dev/null
     713            testmake $? $num || let "numfail = numfail + 1" >/dev/null
     714            let "num = num + 1" >/dev/null
     715            run_smatch $? $num || let "numfail = numfail + 1"  >/dev/null
     716            let "num = num + 1" >/dev/null
     717            run_uno $? $num || let "numfail = numfail + 1"  >/dev/null
     718           
     719            if test -r "Makefile"; then
     720                $MAKE clean
     721            fi
     722            #
     723            ${TOP_SRCDIR}/configure --quiet --enable-network=server  --enable-srp --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test   --with-prelude > /dev/null 2>> test_log   
     724            #
     725            let "num = num + 1" >/dev/null
     726            testmake $? $num || let "numfail = numfail + 1" >/dev/null
     727            let "num = num + 1" >/dev/null
     728            run_smatch $? $num || let "numfail = numfail + 1"  >/dev/null
     729            let "num = num + 1" >/dev/null
     730            run_uno $? $num || let "numfail = numfail + 1"  >/dev/null
     731            #
     732        fi
     733
     734        #
    687735        # test client/server compilation
    688736        #
Note: See TracChangeset for help on using the changeset viewer.