[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/tests/run_parser_all.sh: Print diffs for tes
From: |
Gavin D. Smith |
Subject: |
branch master updated: * tp/tests/run_parser_all.sh: Print diffs for test failure. |
Date: |
Sun, 14 Feb 2021 12:48:26 -0500 |
This is an automated email from the git hooks/post-receive script.
gavin pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new bd10b6a * tp/tests/run_parser_all.sh: Print diffs for test failure.
bd10b6a is described below
commit bd10b6ae49b08d29643254a2649a45b1f6724f1f
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Feb 14 17:48:14 2021 +0000
* tp/tests/run_parser_all.sh: Print diffs for test failure.
---
ChangeLog | 4 ++++
tp/tests/run_parser_all.sh | 4 +++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index f70a426..278b670 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-10 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * tp/tests/run_parser_all.sh: Print diffs for test failure.
+
2021-02-14 Patrice Dumas <pertusus@free.fr>
* Texinfo/Convert/HTML.pm (_contents_inline_element):
diff --git a/tp/tests/run_parser_all.sh b/tp/tests/run_parser_all.sh
index 8df5209..8f08cfe 100755
--- a/tp/tests/run_parser_all.sh
+++ b/tp/tests/run_parser_all.sh
@@ -353,7 +353,9 @@ while read line; do
diff $DIFF_A_OPTION $DIFF_U_OPTION -r "$res_dir_used" "${outdir}$dir"
2>>$logfile > "$testdir/$diffs_dir/$diff_base.diff"
dif_ret=$?
if [ $dif_ret != 0 ]; then
- echo "D: $testdir/$diffs_dir/$diff_base.diff"
+ echo "D: $testdir/$diffs_dir/$diff_base.diff (printed below)"
+ cat "$testdir/$diffs_dir/$diff_base.diff"
+ echo "D: $testdir/$diffs_dir/$diff_base.diff (printed above)"
return_code=1
else
rm "$testdir/$diffs_dir/$diff_base.diff"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/tests/run_parser_all.sh: Print diffs for test failure.,
Gavin D. Smith <=