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)
|
||||
|
||||
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
|
||||
|
@ -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[@]}))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user