Add include file to provide some definitions for a first integration test suite. It provides the shared make variables, most notably TEST_CMD_LINE as handy default for running jw-pkg.py.
Signed-off-by: Jan Lindemann <jan@janware.com>
18 lines
465 B
Makefile
18 lines
465 B
Makefile
EXE ?= $(TOPDIR)/scripts/jw-pkg.py
|
|
|
|
LOG_LEVEL ?= info
|
|
ifneq ($(LOG_LEVEL),)
|
|
TEST_OPTS_LOG_LEVEL := --log-level $(LOG_LEVEL)
|
|
endif
|
|
TEST_CMD_GLOBAL_OPTS += $(TEST_OPTS_LOG_LEVEL)
|
|
|
|
TEST_CMD_LINE ?= $(PYTHON) $(EXE) $(TEST_CMD_GLOBAL_OPTS) $(TEST_CMD_ARGS)
|
|
|
|
all:
|
|
|
|
include $(JWBDIR)/make/defs.mk
|
|
include $(JWBDIR)/make/py-defs.mk
|
|
include $(JWBDIR)/make/dev-utils.mk
|
|
|
|
test-default:
|
|
$(TEST_CMD_LINE)
|