2015-09-06 06:16:19 +02:00
|
|
|
MAKEPARALLEL ?= ./makeparallel
|
|
|
|
|
|
|
|
.PHONY: test
|
|
|
|
test:
|
2015-09-18 23:50:26 +02:00
|
|
|
@+echo MAKEFLAGS=$${MAKEFLAGS}; \
|
2015-10-21 00:41:05 +02:00
|
|
|
result=$$($(MAKEPARALLEL) echo $(ARGS)); \
|
2015-09-18 23:50:26 +02:00
|
|
|
echo result: $${result}; \
|
|
|
|
if [ "$${result}" = "$(EXPECTED)" ]; then \
|
|
|
|
echo SUCCESS && echo; \
|
|
|
|
else \
|
|
|
|
echo FAILED expected $(EXPECTED) && false; \
|
|
|
|
fi
|