github.com/westcoastroms/westcoastroms-build@v0.0.0-20190928114312-2350e5a73030/build/make/tools/makeparallel/Makefile.test (about)

     1  MAKEPARALLEL ?= ./makeparallel
     2  
     3  .PHONY: test
     4  test:
     5  	@+echo MAKEFLAGS=$${MAKEFLAGS};              \
     6  	result=$$($(MAKEPARALLEL) echo $(ARGS));     \
     7  	echo result: $${result};                     \
     8  	if [ "$${result}" = "$(EXPECTED)" ]; then    \
     9  	  echo SUCCESS && echo;                      \
    10  	else                                         \
    11  	  echo FAILED expected $(EXPECTED) && false; \
    12  	fi