[gcc r14-3810] libstdc++: Reduce output of 'make check'

Jonathan Wakely redi@gcc.gnu.org
Fri Sep 8 17:04:55 GMT 2023


https://gcc.gnu.org/g:67009f143fa722ded874bb9ebc89214573f5a124

commit r14-3810-g67009f143fa722ded874bb9ebc89214573f5a124
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu Sep 7 14:26:38 2023 +0100

    libstdc++: Reduce output of 'make check'
    
    This removes the 39 lines of shell commands that get echoed when
    starting the testsuite. The fact that near the end of that output it
    prints `echo "WARNING: could not find \`runtest'" 1>&2; :;` makes it
    look like that warning is actually being shown to the user.
    
    Suppress echoing the recipe, so that users only see the actual output
    from the testsuite, not the makefile recipe as well.
    
    libstdc++-v3/ChangeLog:
    
            * testsuite/Makefile.am (check-DEJAGNU): Use @ in recipe.
            * testsuite/Makefile.in: Regenerate.

Diff:
---
 libstdc++-v3/testsuite/Makefile.am | 2 +-
 libstdc++-v3/testsuite/Makefile.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libstdc++-v3/testsuite/Makefile.am b/libstdc++-v3/testsuite/Makefile.am
index d457978d77b4..ef579d97efa6 100644
--- a/libstdc++-v3/testsuite/Makefile.am
+++ b/libstdc++-v3/testsuite/Makefile.am
@@ -116,7 +116,7 @@ $(check_DEJAGNU_normal_targets): check-DEJAGNUnormal%: normal%/site.exp
 
 # Run the testsuite in normal mode.
 check-DEJAGNU $(check_DEJAGNU_normal_targets): check-DEJAGNU%: site.exp
-	$(if $*,@)AR="$(AR)"; export AR; \
+	@$(if $*,@)AR="$(AR)"; export AR; \
 	RANLIB="$(RANLIB)"; export RANLIB; \
 	if [ -z "$*" ] && [ -n "$(filter -j%, $(MFLAGS))" ]; then \
 	  rm -rf normal-parallel || true; \
diff --git a/libstdc++-v3/testsuite/Makefile.in b/libstdc++-v3/testsuite/Makefile.in
index 5081fdf99489..462db4fd7090 100644
--- a/libstdc++-v3/testsuite/Makefile.in
+++ b/libstdc++-v3/testsuite/Makefile.in
@@ -663,7 +663,7 @@ $(check_DEJAGNU_normal_targets): check-DEJAGNUnormal%: normal%/site.exp
 
 # Run the testsuite in normal mode.
 check-DEJAGNU $(check_DEJAGNU_normal_targets): check-DEJAGNU%: site.exp
-	$(if $*,@)AR="$(AR)"; export AR; \
+	@$(if $*,@)AR="$(AR)"; export AR; \
 	RANLIB="$(RANLIB)"; export RANLIB; \
 	if [ -z "$*" ] && [ -n "$(filter -j%, $(MFLAGS))" ]; then \
 	  rm -rf normal-parallel || true; \


More information about the Libstdc++-cvs mailing list