]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
tests: Increase debuggability.
authorBruno Haible <bruno@clisp.org>
Tue, 30 Sep 2025 21:59:22 +0000 (23:59 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 30 Sep 2025 21:59:22 +0000 (23:59 +0200)
* gettext-tools/tests/xgettext-python-9: Show the warnings in the log when
failing.

gettext-tools/tests/xgettext-python-9

index 6ddeb9aaa342dc0d17f636fa56ff6b30857492e3..1a7a04585061f720d918c0ca8b3c233f7f8c86bc 100755 (executable)
@@ -13,6 +13,7 @@ ${XGETTEXT} --omit-header --no-location -d xg-py-9-1 xg-py-9-1.py 2>xg-py-9-1.tm
 grep -v '^==' xg-py-9-1.tmp > xg-py-9-1.err
 # Expect no warning here (because the format string has only one placeholder).
 if test -s xg-py-9-1.err; then
+  cat xg-py-9-1.err
   Exit 1
 fi