Allow suppressing progress messages when running C test suite

This makes the warnings more noticeable.
This commit is contained in:
Vadim Zeitlin 2016-04-21 23:40:36 +02:00
commit 862abb42e6

View file

@ -10,6 +10,9 @@ srcdir = @srcdir@
top_srcdir = ../@top_srcdir@ top_srcdir = ../@top_srcdir@
top_builddir = ../@top_builddir@ top_builddir = ../@top_builddir@
# This can be set to ":" to avoid progress messages.
ECHO_PROGRESS := echo
CPP_TEST_CASES := \ CPP_TEST_CASES := \
cpp_basic_class \ cpp_basic_class \
cpp_basic_class_method \ cpp_basic_class_method \
@ -147,9 +150,9 @@ SRCDIR = ../$(srcdir)/
# Makes a directory for the testcase if it does not exist # Makes a directory for the testcase if it does not exist
setup = \ setup = \
if [ -f $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ]; then \ if [ -f $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ]; then \
echo "$(ACTION)ing testcase $* (with run test) under $(LANGUAGE)" ; \ $(ECHO_PROGRESS) "$(ACTION)ing testcase $* (with run test) under $(LANGUAGE)" ; \
else \ else \
echo "$(ACTION)ing testcase $* under $(LANGUAGE)" ; \ $(ECHO_PROGRESS) "$(ACTION)ing testcase $* under $(LANGUAGE)" ; \
fi; \ fi; \
if [ ! -d $* ]; then \ if [ ! -d $* ]; then \
mkdir $*; \ mkdir $*; \