From 4d6a9682e560ca0d19e3108c18e8967eed36190b Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Sat, 19 Oct 2019 15:50:29 +0200 Subject: [PATCH] fix 'coverage' & add 'check' make-target --- makefile_include.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/makefile_include.mk b/makefile_include.mk index 7d0b997..defa6ed 100644 --- a/makefile_include.mk +++ b/makefile_include.mk @@ -116,10 +116,10 @@ endif # adjust coverage set ifneq ($(filter $(_ARCH), i386 i686 x86_64 amd64 ia64),) - COVERAGE = test_standalone timing + COVERAGE = test timing COVERAGE_APP = ./test && ./timing else - COVERAGE = test_standalone + COVERAGE = test COVERAGE_APP = ./test endif @@ -135,6 +135,10 @@ LIBPATH ?= $(PREFIX)/lib INCPATH ?= $(PREFIX)/include DATAPATH ?= $(PREFIX)/share/doc/libtommath/pdf +# build & run test-suite +check: test + ./test + #make the code coverage of the library # coverage: LTM_CFLAGS += -fprofile-arcs -ftest-coverage -DTIMING_NO_LOGS