fix(tests): tests are runned with && splitter
This commit is contained in:
7
Makefile
7
Makefile
@ -8,6 +8,9 @@ USRDIR ?= /usr
|
||||
tools library tests docs cov clean
|
||||
|
||||
LIB = basen
|
||||
|
||||
TOOLS = ${LIB}
|
||||
|
||||
OBJS =\
|
||||
hex\
|
||||
baseN\
|
||||
@ -16,8 +19,6 @@ OBJS =\
|
||||
hash/sha256\
|
||||
Exception
|
||||
|
||||
TOOLS = ${LIB}
|
||||
|
||||
TESTS =\
|
||||
test-hex\
|
||||
test-baseN\
|
||||
@ -131,7 +132,7 @@ endif
|
||||
ifneq (${TESTS},)
|
||||
|
||||
tests: library ${DIRS} ${patsubst %, ${BINDIR}/%${-g}, ${TESTS}}
|
||||
${patsubst %, ./${BINDIR}/%${-g};, ${TESTS}}
|
||||
echo ${patsubst %, && ./${BINDIR}/%${-g}, ${TESTS}}
|
||||
|
||||
${BINDIR}/%${-g}: ${TESTDIR}/%.cpp ${patsubst %, ${OBJDIR}/%${-g}.o, ${OBJS}}
|
||||
${CC} -o $@ $< -I${INCDIR} -L${LIBDIR} ${-l} ${-lLIB} -lgtest ${CFLAGS}
|
||||
|
||||
Submodule distrib/arch updated: 3453e4c5cd...fb10835e09
Reference in New Issue
Block a user