test: build tests against static libraries

This commit is contained in:
Danny Robson 2014-08-18 22:11:37 +10:00
parent f6894fabc8
commit 523d5efd05
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
AM_LDFLAGS = $(COMMON_LDFLAGS)
AM_LDFLAGS = $(COMMON_LDFLAGS) $(BOOST_LDFLAGS) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB)
AM_CXXFLAGS = $(COMMON_CXXFLAGS) -I$(top_srcdir)
TEST_BIN = \
@ -28,7 +28,7 @@ TEST_BIN = \
version
AM_DEFAULT_SOURCE_EXT = .cpp
LDADD = $(builddir)/../libutil.la
LDADD = $(builddir)/../.libs/libutil.a
if PLATFORM_WIN32
hton_LDFLAGS = -lws2_32

View File

@ -1,6 +1,6 @@
#!/bin/sh
tests=($(find . -maxdepth 1 -type f -executable | grep -v test))
tests=($(find . -type f -executable | grep -v test))
echo 1..$((${#tests[@]}))