]> Savannah Git Hosting - gnulib.git/commitdiff
Clarify where to report test failures from Gnulib tests.
authorBruno Haible <bruno@clisp.org>
Thu, 10 Jun 2021 19:43:59 +0000 (21:43 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 10 Jun 2021 19:43:59 +0000 (21:43 +0200)
* gnulib-tool (func_emit_tests_Makefile_am): Emit a dependency of
'check-am' on 'check-notice' that prints a notice.

ChangeLog
gnulib-tool

index f95d38902851b1536911a6eb7371624a1d5af5fe..7c5e6be96132d1eabea03af811fbde6ecfd25e76 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-06-10  Bruno Haible  <bruno@clisp.org>
+
+       Clarify where to report test failures from Gnulib tests.
+       * gnulib-tool (func_emit_tests_Makefile_am): Emit a dependency of
+       'check-am' on 'check-notice' that prints a notice.
+
 2021-06-10  Bruno Haible  <bruno@clisp.org>
 
        Clarify that compiler warnings in the Gnulib tests can be ignored.
index d41d58ce843da04fb9228f970b1af57845a1099c..4f97e6338074ef1298fe69c4ea16b95071eed05e 100755 (executable)
@@ -4275,6 +4275,14 @@ func_emit_tests_Makefile_am ()
   echo "       @echo '## You can ignore compiler warnings in this directory.  ##'"
   echo "       @echo '## ---------------------------------------------------- ##'"
   echo
+  # Arrange to print a message before executing the tests in this directory.
+  echo "check-am: check-notice"
+  echo "check-notice:"
+  echo "       @echo '## ---------------------------------------------------- ##'"
+  echo "       @echo '## ------------------- Gnulib tests ------------------- ##'"
+  echo "       @echo '## Please report test failures to <bug-gnulib@gnu.org>. ##'"
+  echo "       @echo '## ---------------------------------------------------- ##'"
+  echo
   echo "# Clean up after Solaris cc."
   echo "clean-local:"
   echo "       rm -rf SunWS_cache"