Changeset 341 for trunk/test


Ignore:
Timestamp:
May 11, 2011, 9:34:15 PM (14 years ago)
Author:
katerina
Message:

Fix for ticket #250: Compile error if option --enable-udp is used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/testcompile.sh

    r279 r341  
    765765        # test client/server compilation
    766766        #
    767         TEST="${S}client/server application w/o srp${E}"
    768         #
    769         if test -r "Makefile"; then
    770                 $MAKE clean
    771         fi
    772         #
    773         ${TOP_SRCDIR}/configure --quiet --enable-network=server --disable-srp --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test > /dev/null 2>> test_log   
     767        TEST="${S}client/server application w/o srp, w/udp${E}"
     768        #
     769        if test -r "Makefile"; then
     770                $MAKE clean
     771        fi
     772        #
     773        ${TOP_SRCDIR}/configure --quiet --enable-network=server --enable-udp --disable-srp --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test > /dev/null 2>> test_log   
    774774        #
    775775        let "num = num + 1" >/dev/null
     
    858858        # test  client/server compilation w/logwatch
    859859        #
    860         TEST="${S}client/server application w/login-watch${E}"
    861         #
    862         if test -r "Makefile"; then
    863                 $MAKE clean
    864         fi
    865         #
    866         ${TOP_SRCDIR}/configure --quiet --enable-network=server  --enable-srp --enable-login-watch --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test  > /dev/null 2>> test_log 
    867         #
    868         let "num = num + 1" >/dev/null
    869         testmake $? $num || let "numfail = numfail + 1" >/dev/null
    870         let "num = num + 1" >/dev/null
    871         run_smatch $? $num || let "numfail = numfail + 1"  >/dev/null
    872         let "num = num + 1" >/dev/null
    873         run_uno $? $num || let "numfail = numfail + 1"  >/dev/null
    874         #
    875         if test -r "Makefile"; then
    876                 $MAKE clean
    877         fi
    878         #
    879         ${TOP_SRCDIR}/configure --quiet --enable-network=client  --enable-srp --enable-login-watch --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test  > /dev/null 2>> test_log 
     860        TEST="${S}client/server application w/login-watch,udp,no_ipv6${E}"
     861        #
     862        if test -r "Makefile"; then
     863                $MAKE clean
     864        fi
     865        #
     866        ${TOP_SRCDIR}/configure --quiet --enable-network=server  --enable-udp --disable-ipv6 --enable-srp --enable-login-watch --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test  > /dev/null 2>> test_log 
     867        #
     868        let "num = num + 1" >/dev/null
     869        testmake $? $num || let "numfail = numfail + 1" >/dev/null
     870        let "num = num + 1" >/dev/null
     871        run_smatch $? $num || let "numfail = numfail + 1"  >/dev/null
     872        let "num = num + 1" >/dev/null
     873        run_uno $? $num || let "numfail = numfail + 1"  >/dev/null
     874        #
     875        if test -r "Makefile"; then
     876                $MAKE clean
     877        fi
     878        #
     879        ${TOP_SRCDIR}/configure --quiet --enable-network=client  --disable-ipv6 --enable-srp --enable-login-watch --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test  > /dev/null 2>> test_log 
    880880        #
    881881        let "num = num + 1" >/dev/null
Note: See TracChangeset for help on using the changeset viewer.