make test-compile depend on both static and shared

Fri, 23 May 2025 12:44:24 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 23 May 2025 12:44:24 +0200
changeset 1327
ed75dc1db503
parent 1326
9bf5945d91ab
child 1328
2cf66dee40b8

make test-compile depend on both static and shared

the shared lib is not needed for the tests,
but when run with coverage, gcov will be confused
when outdated line information is available from
a previous shared build

make/makefile.mk file | annotate | diff | comparison | revisions
--- a/make/makefile.mk	Fri May 23 11:44:44 2025 +0200
+++ b/make/makefile.mk	Fri May 23 12:44:24 2025 +0200
@@ -56,7 +56,7 @@
 	$(RMFILE) $(build_dir)/tests/*.gcda
 	$(build_dir)/tests/ucxtest
 
-test-compile: static FORCE
+test-compile: compile FORCE
 	cd tests && $(MAKE)
 
 check-cxx: CXX-AVAILABLE clean test-compile-cxx FORCE

mercurial