]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
./build makes unit tests with V=0 before make check
authorDave Hart <hart@ntp.org>
Thu, 6 Jan 2011 04:43:56 +0000 (04:43 +0000)
committerDave Hart <hart@ntp.org>
Thu, 6 Jan 2011 04:43:56 +0000 (04:43 +0000)
bk: 4d25488c3rx-ONI6_Qq6Uuxeh6rJWg

build
tests/libntp/Makefile.am

diff --git a/build b/build
index 7e438d54214ce022c3b78cdf5562411054117f32..988bd633b3a1504dd3b991c8a8ae5f018d739c40 100755 (executable)
--- a/build
+++ b/build
@@ -172,6 +172,10 @@ CONFIGURE="../configure --cache-file=../config.cache-$IAM$CCSUF $CONFIG_ARGS"
        "$NICEB" -5 ./config.status &&
                ( cd sntp && "$NICEB" -5 ./config.status ) &&
                "$NICEB" -14 ${MAKE-make} V=0 &&
+               ( cd sntp/tests &&
+                 "$NICEB" -14 ${MAKE-make} V=0 tests ) &&
+               ( cd tests/libntp &&
+                 "$NICEB" -14 ${MAKE-make} V=0 tests ) &&
                "$NICEB" -11 ${MAKE-make} check
 ) > $LOGF 2>&1
 
index 16972c58267f4816cba2485f543fbe1180be9e00..c82d41fae522970e93831ef817c4f92e9d150cb4 100644 (file)
@@ -45,12 +45,11 @@ noinst_HEADERS =    lfptest.h       \
                        libntptest.h    \
                        sockaddrtest.h
 
-INCLUDES =                                             \
-       -I$(top_srcdir)/include                         \
-       -I$(top_srcdir)/lib/isc/include                 \
-       -I$(top_srcdir)/lib/isc/nothreads/include       \
-       -I$(top_srcdir)/lib/isc/unix/include            \
-       -I$(top_srcdir)/sntp
+INCLUDES  = -I$(top_srcdir)/include
+INCLUDES += -I$(top_srcdir)/lib/isc/include
+INCLUDES += -I$(top_srcdir)/lib/isc/nothreads/include
+INCLUDES += -I$(top_srcdir)/lib/isc/unix/include
+INCLUDES += -I$(top_srcdir)/sntp
 
 TESTS =