build: Tweaks

- Let test depend on src
- Run tests sequentially
This commit is contained in:
Kim Woelders 2022-04-09 13:39:27 +02:00
parent 11806ddb74
commit e8b564f141
2 changed files with 5 additions and 2 deletions

View File

@ -39,8 +39,9 @@ $(top_builddir)/$(PACKAGE).spec: FORCE
sed "s/\@PACKAGE\@/@PACKAGE@/;s/\@VERSION\@/@VERSION@/;s/\@RPM_RELEASE\@/$(RPM_RELEASE)/" \
$(top_srcdir)/$(PACKAGE).spec.in > $@
.PHONY: doc test
doc test:
.PHONY: doc src test
doc src test:
$(MAKE) -C $@
test: src
FORCE:

View File

@ -1,5 +1,7 @@
# Unit test makefile
#
.NOTPARALLEL:
noinst_PROGRAMS = $(GTESTS)
CLEANFILES = file.c img_save-*.*