[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Sun, 14 Aug 2022 13:07:03 -0400 (EDT) |
branch: master
commit 5a82262dc05574fd850301076e7670bbbf3ca333
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Aug 14 18:02:02 2022 +0100
Better output for "maintain/all_tests.sh generate"
* tp/maintain/all_tests.sh: Print name of each test script.
* tp/t/test_utils.pl: Do not dump test to stderr; only print
the name.
---
ChangeLog | 8 ++++++++
tp/maintain/all_tests.sh | 1 +
tp/t/test_utils.pl | 3 ++-
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 5882bdd7b3..b28b0f3fb1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-08-14 Gavin Smith <gavinsmith0123@gmail.com>
+
+ Better output for "maintain/all_tests.sh generate"
+
+ * tp/maintain/all_tests.sh: Print name of each test script.
+ * tp/t/test_utils.pl: Do not dump test to stderr; only print
+ the name.
+
2022-08-14 Gavin Smith <gavinsmith0123@gmail.com>
* doc/texinfo.texi (Optional Arguments): State that this is
diff --git a/tp/maintain/all_tests.sh b/tp/maintain/all_tests.sh
index b09ec1f3e2..4614005151 100755
--- a/tp/maintain/all_tests.sh
+++ b/tp/maintain/all_tests.sh
@@ -54,6 +54,7 @@ else
if [ "$command" = 'generate' ]; then
for file in $srcdir/t/*.t; do
set -e
+ echo "$file" >&2
$PERL -w $file -g
done
elif [ "$command" = 'output' ]; then
diff --git a/tp/t/test_utils.pl b/tp/t/test_utils.pl
index b81bd1a9ae..893d61334a 100644
--- a/tp/t/test_utils.pl
+++ b/tp/t/test_utils.pl
@@ -1347,7 +1347,8 @@ sub test($$)
if (defined($locale_encoding)) {
$texinfo_text = Encode::encode($locale_encoding, $texinfo_text);
}
- print STDERR "--> $test_name\n". $texinfo_text ."\n";
+ print STDERR "--> $test_name\n";
+ #print STDERR "--> $test_name\n". $texinfo_text ."\n";
}
}
if (!$self->{'generate'}) {