test: build tests against static libraries
This commit is contained in:
parent
f6894fabc8
commit
523d5efd05
@ -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)
|
AM_CXXFLAGS = $(COMMON_CXXFLAGS) -I$(top_srcdir)
|
||||||
|
|
||||||
TEST_BIN = \
|
TEST_BIN = \
|
||||||
@ -28,7 +28,7 @@ TEST_BIN = \
|
|||||||
version
|
version
|
||||||
|
|
||||||
AM_DEFAULT_SOURCE_EXT = .cpp
|
AM_DEFAULT_SOURCE_EXT = .cpp
|
||||||
LDADD = $(builddir)/../libutil.la
|
LDADD = $(builddir)/../.libs/libutil.a
|
||||||
|
|
||||||
if PLATFORM_WIN32
|
if PLATFORM_WIN32
|
||||||
hton_LDFLAGS = -lws2_32
|
hton_LDFLAGS = -lws2_32
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
tests=($(find . -maxdepth 1 -type f -executable | grep -v test))
|
tests=($(find . -type f -executable | grep -v test))
|
||||||
|
|
||||||
echo 1..$((${#tests[@]}))
|
echo 1..$((${#tests[@]}))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user