diff --git a/doc/Changelog b/doc/Changelog index 33a892ce4..f0d4b9811 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -5,6 +5,7 @@ it checks the logfiles to see if servers have come up. Takes 0.14s. - set addrlen value when calling recvfrom. - comparison of addrs more portable. + - LIBEVENT option for testbed to set libevent directory. 6 February 2007: Wouter - reviewed code and improved in places. diff --git a/testcode/testbed.sh b/testcode/testbed.sh index d88656146..454a524e2 100755 --- a/testcode/testbed.sh +++ b/testcode/testbed.sh @@ -68,6 +68,9 @@ function dotest() if test x$LDNS != x; then DISABLE="--with-ldns=$LDNS $DISABLE" fi + if test x$LIBEVENT != x; then + DISABLE="--with-libevent=$LIBEVENT $DISABLE" + fi echossh $1 "cd $2; if test ! -f config.h -o configure -nt config.h; then ./configure $CONFIGURE_FLAGS $DISABLE; fi" echossh $1 "cd $2; if test -f "'"`which gmake`"'"; then gmake; else $MAKE_CMD; fi" echossh $1 "cd $2; if test -f "'"`which gmake`"'"; then gmake doc; else $MAKE_CMD doc; fi" @@ -115,6 +118,7 @@ for((i=0; i<${#hostname[*]}; i=$i+1)); do FIXCONFIGURE=no RUN_TEST=yes LDNS= + LIBEVENT= eval ${vars[$i]} echo "*** ${hostname[$i]} ${desc[$i]} ***" | tee -a $LOG_FILE | tee -a $REPORT_FILE dotest ${hostname[$i]} ${dir[$i]} 2>&1 | tee -a $LOG_FILE diff --git a/testcode/testbed.txt b/testcode/testbed.txt index 52744b555..b0175049e 100644 --- a/testcode/testbed.txt +++ b/testcode/testbed.txt @@ -22,6 +22,9 @@ Only important variable for unbound is the LDNS=