aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite
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/testsuite
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/testsuite')
-rw-r--r--sim/testsuite/local.mk10
1 files changed, 8 insertions, 2 deletions
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 \