From 82a9243e2be6d98e9c22cccf4a8970a3ed0c18fe Mon Sep 17 00:00:00 2001 From: SEK1RO Date: Sat, 26 Oct 2024 20:24:26 +0300 Subject: [PATCH] fix(tests): tests are runned with && splitter --- Makefile | 7 ++++--- distrib/arch | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 76ee129..d19be2a 100644 --- a/Makefile +++ b/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} diff --git a/distrib/arch b/distrib/arch index 3453e4c..fb10835 160000 --- a/distrib/arch +++ b/distrib/arch @@ -1 +1 @@ -Subproject commit 3453e4c5cdbf2c1cbc022e5e8b3df84937d66005 +Subproject commit fb10835e091316cf605d94ad84a99db229fa7c57