aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-11-16 19:23:58 -0500
committerMike Frysinger <vapier@gentoo.org>2021-11-16 19:33:57 -0500
commit5ec501b5749c1df79b749a7fd885760dc734b31c (patch)
treec133899b41460cbecb84f44114e04babe00fa0a5 /sim
parent3963eb1ff0612e56605adc4326855092fc35a64e (diff)
downloadgdb-5ec501b5749c1df79b749a7fd885760dc734b31c.zip
gdb-5ec501b5749c1df79b749a7fd885760dc734b31c.tar.gz
gdb-5ec501b5749c1df79b749a7fd885760dc734b31c.tar.bz2
sim: testsuite: add more silent build rules
site.exp is still verbose, but that comes from automake, so have to get it fixed upstream.
Diffstat (limited to 'sim')
-rw-r--r--sim/Makefile.in10
-rw-r--r--sim/testsuite/local.mk10
2 files changed, 16 insertions, 4 deletions
diff --git a/sim/Makefile.in b/sim/Makefile.in
index 07c8937..d33720b 100644
--- a/sim/Makefile.in
+++ b/sim/Makefile.in
@@ -1257,6 +1257,12 @@ common_libcommon_a_SOURCES = \
# Tweak the site.exp so it works with plain `runtest` from user.
EXTRA_DEJAGNU_SITE_CONFIG = site-srcdir.exp
+
+# Custom verbose test variables that automake doesn't provide (yet?).
+AM_V_RUNTEST = $(AM_V_RUNTEST_@AM_V@)
+AM_V_RUNTEST_ = $(AM_V_RUNTEST_@AM_DEFAULT_V@)
+AM_V_RUNTEST_0 = @echo " RUNTEST $(RUNTESTFLAGS)";
+AM_V_RUNTEST_1 =
testsuite_common_CPPFLAGS = \
-I$(srcdir)/common \
-I$(srcroot)/include \
@@ -2429,10 +2435,10 @@ common/version.c-stamp: $(srcroot)/gdb/version.in $(srcroot)/bfd/version.h $(src
@SIM_ENABLE_IGEN_TRUE@ $(AM_V_CC)$(COMPILE_FOR_BUILD) -DMAIN -c $< -o $@
site-srcdir.exp: Makefile
- echo "set srcdir \"$(srcdir)/testsuite\"" > $@
+ $(AM_V_GEN)echo "set srcdir \"$(srcdir)/testsuite\"" > $@
check-DEJAGNU: site.exp
- LC_ALL=C; export LC_ALL; \
+ $(AM_V_RUNTEST)LC_ALL=C; export LC_ALL; \
EXPECT=${EXPECT} ; export EXPECT ; \
runtest=$(RUNTEST); \
if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
diff --git a/sim/testsuite/local.mk b/sim/testsuite/local.mk
index 82eb70d..4da63ea 100644
--- a/sim/testsuite/local.mk
+++ b/sim/testsuite/local.mk
@@ -18,11 +18,17 @@
# Tweak the site.exp so it works with plain `runtest` from user.
EXTRA_DEJAGNU_SITE_CONFIG = site-srcdir.exp
+# Custom verbose test variables that automake doesn't provide (yet?).
+AM_V_RUNTEST = $(AM_V_RUNTEST_@AM_V@)
+AM_V_RUNTEST_ = $(AM_V_RUNTEST_@AM_DEFAULT_V@)
+AM_V_RUNTEST_0 = @echo " RUNTEST $(RUNTESTFLAGS)";
+AM_V_RUNTEST_1 =
+
site-srcdir.exp: Makefile
- echo "set srcdir \"$(srcdir)/testsuite\"" > $@
+ $(AM_V_GEN)echo "set srcdir \"$(srcdir)/testsuite\"" > $@
check-DEJAGNU: site.exp
- LC_ALL=C; export LC_ALL; \
+ $(AM_V_RUNTEST)LC_ALL=C; export LC_ALL; \
EXPECT=${EXPECT} ; export EXPECT ; \
runtest=$(RUNTEST); \
if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \