Add ability to see example output from top level by using 'make check-examples RUNPIPE='

This commit is contained in:
William S Fulton 2013-04-20 00:22:07 +01:00
commit 303b319cf0

View file

@ -22,6 +22,7 @@ TARGET = $(TARGET_NOEXE)@EXEEXT@
SOURCE = Source SOURCE = Source
CCACHE = CCache CCACHE = CCache
DOCS = Doc/Manual DOCS = Doc/Manual
RUNPIPE = \>/dev/null
swig: libfiles source ccache swig: libfiles source ccache
@ -229,7 +230,7 @@ check-%-examples :
# individual example # individual example
%.actionexample: %.actionexample:
@echo $(ACTION)ing Examples/$(LANGUAGE)/$* @echo $(ACTION)ing Examples/$(LANGUAGE)/$*
@(cd Examples/$(LANGUAGE)/$* && $(MAKE) -s $(chk-set-env) $(ACTION) RUNPIPE=\>/dev/null) @(cd Examples/$(LANGUAGE)/$* && $(MAKE) -s $(chk-set-env) $(ACTION) RUNPIPE=$(RUNPIPE))
# gcj individual example # gcj individual example
java.actionexample: java.actionexample: