mirror of
https://github.com/clearlinux/mixer-tools.git
synced 2026-09-04 20:51:27 +00:00
These tests should be reporting on the structure and correctness of mixer and its user interface. Due to them running very slowly on the Travis CI environment, they are not run by default, but can be run locally with make batcheck. This patch also introduces a docker container to do the build, so we do not have to worry about running this in different environments such as Travis CI. The tests are thus confined to a strict, well-known workspace, and we can avoid many dependency problems. Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
19 lines
490 B
Makefile
19 lines
490 B
Makefile
SUBMAKEFILES := $(shell find bat/tests/ -name Makefile)
|
|
DIRS2RUNMAKECHECK := $(addprefix checkdir-,${SUBMAKEFILES})
|
|
DIRS2RUNMAKECLEAN := $(addprefix clean-,${SUBMAKEFILES})
|
|
|
|
batcheck: ${DIRS2RUNMAKECHECK}
|
|
|
|
${DIRS2RUNMAKECHECK}: checkdir-%:
|
|
$(MAKE) -C $(dir $(subst checkdir-,,$@)) check
|
|
|
|
batclean: $(DIRS2RUNMAKECLEAN)
|
|
|
|
${DIRS2RUNMAKECLEAN}: clean-%:
|
|
$(MAKE) -C $(dir $(subst clean-,,$@)) clean
|
|
|
|
.PHONY: batcheck
|
|
.PHONY: batclean
|
|
.PHONY: ${DIRS2RUNMAKECHECK}
|
|
.PHONY: ${DIRS2RUNMAKECLEAN}
|