Changeset 145 for trunk/test


Ignore:
Timestamp:
Nov 8, 2007, 10:35:23 PM (17 years ago)
Author:
rainer
Message:

Fix for ticket #81 (compile failure with --enable-static).

Location:
trunk/test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/testcompile.sh

    r140 r145  
    2020#
    2121
    22 MAXTEST=65; export MAXTEST
     22MAXTEST=71; export MAXTEST
    2323
    2424run_flawfinder ()
     
    181181        # test standalone compilation
    182182        #
     183        TEST="${S}standalone static w/suidcheck w/procchk${E}"
     184        #
     185        if test -r "Makefile"; then
     186                $MAKE distclean
     187        fi
     188        #
     189        ${TOP_SRCDIR}/configure --quiet  --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test  --enable-static --enable-suidcheck --enable-process-check > /dev/null 2>> test_log
     190        #
     191        let "num = num + 1" >/dev/null
     192        testmake $? $num || let "numfail = numfail + 1"  >/dev/null
     193        let "num = num + 1" >/dev/null
     194        run_smatch $? $num || let "numfail = numfail + 1"  >/dev/null
     195
     196        #
     197        # test standalone compilation
     198        #
    183199        TEST="${S}standalone w/procchk w/portchk${E}"
    184200        #
     
    450466        #
    451467        ${TOP_SRCDIR}/configure --quiet --enable-network=server  --enable-srp --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test   --with-timeserver=127.0.0.1 > /dev/null 2>> test_log   
     468        #
     469        let "num = num + 1" >/dev/null
     470        testmake $? $num || let "numfail = numfail + 1" >/dev/null
     471        let "num = num + 1" >/dev/null
     472        run_smatch $? $num || let "numfail = numfail + 1"  >/dev/null
     473
     474        #
     475        # test client/server compilation
     476        #
     477        TEST="${S}client/server application static w/timeserver${E}"
     478        #
     479        if test -r "Makefile"; then
     480                $MAKE clean
     481        fi
     482        #
     483        ${TOP_SRCDIR}/configure --quiet --enable-network=client  --enable-static --enable-srp --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test   --with-timeserver=127.0.0.1 > /dev/null 2>> test_log   
     484        #
     485        let "num = num + 1" >/dev/null
     486        testmake $? $num || let "numfail = numfail + 1" >/dev/null
     487        let "num = num + 1" >/dev/null
     488        run_smatch $? $num || let "numfail = numfail + 1"  >/dev/null
     489       
     490        if test -r "Makefile"; then
     491                $MAKE clean
     492        fi
     493        #
     494        ${TOP_SRCDIR}/configure --quiet --enable-network=server  --enable-static --enable-srp --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test   --with-timeserver=127.0.0.1 > /dev/null 2>> test_log   
    452495        #
    453496        let "num = num + 1" >/dev/null
  • trunk/test/testrun_1a.sh

    r100 r145  
    2020#
    2121
    22 PREBUILDOPTS="--quiet $TRUST --enable-debug --enable-xml-log --enable-login-watch --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$RCFILE --with-log-file=$LOGFILE --with-pid-file=$PW_DIR/.samhain_lock --with-data-file=$PW_DIR/.samhain_file"
     22PREBUILDOPTS="--quiet $TRUST --enable-debug --enable-static --enable-xml-log --enable-login-watch --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$RCFILE --with-log-file=$LOGFILE --with-pid-file=$PW_DIR/.samhain_lock --with-data-file=$PW_DIR/.samhain_file"
    2323export PREBUILDOPTS
    2424
Note: See TracChangeset for help on using the changeset viewer.