forked from openkylin/platform_build
13 lines
391 B
Makefile
13 lines
391 B
Makefile
MAKEPARALLEL ?= ./makeparallel
|
|
|
|
.PHONY: test
|
|
test:
|
|
@+echo MAKEFLAGS=$${MAKEFLAGS}; \
|
|
result=$$($(MAKEPARALLEL) echo $(ARGS)); \
|
|
echo result: $${result}; \
|
|
if [ "$${result}" = "$(EXPECTED)" ]; then \
|
|
echo SUCCESS && echo; \
|
|
else \
|
|
echo FAILED expected $(EXPECTED) && false; \
|
|
fi
|