466ea35202
Ninja stops parsing top level options after -t is used to select a tool. Put any inserted command line options at the beginning of the command. Change-Id: I2ba903143366aaded63e21d749476248617c8962
12 lines
391 B
Makefile
12 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
|