SHA256
1
0
forked from pool/tidy
Files
tidy/test_fixes.diff
Adam Majer 4d67868e52 - new upstream version 5.4.0
- compat_headers.diff: upstreamed
- static_buffer_overflow.diff: upstreamed
- updated documentation to current
  +  tidy-html5-doxygen-a8e47dc.tar.gz replaced by
     tidy-html5-doxygen-c0d1cd1.tar.gz
- updated unit tests to current
  + a510b54.tar.gz replaced by 97cf741.tar.gz
- fix_doxygen_paths.diff: refreshed
- test_fixes.diff: refreshed

OBS-URL: https://build.opensuse.org/package/show/devel:tools/tidy?expand=0&rev=15
2017-04-10 14:38:30 +00:00

26 lines
1.1 KiB
Diff

Index: tidy-html5-5.4.0/tests/tools-sh/t1.sh
===================================================================
--- tidy-html5-5.4.0.orig/tests/tools-sh/t1.sh
+++ tidy-html5-5.4.0/tests/tools-sh/t1.sh
@@ -176,6 +176,7 @@ if [ "$ERRCNT" = "0" ]; then
else
echo "$BN: Carefully REVIEW the above differences on $TMPCASE $TMPEXIT! *** ACTION REQUIRED ***"
echo "$BN: Carefully REVIEW the above differences on $TMPCASE $TMPEXIT! *** ACTION REQUIRED ***" >> "${TY_RESULTS_FILE}"
+ exit 1
fi
echo ""
echo "# eof" >> "${TY_RESULTS_FILE}"
Index: tidy-html5-5.4.0/tests/tools-sh/testall.sh
===================================================================
--- tidy-html5-5.4.0.orig/tests/tools-sh/testall.sh
+++ tidy-html5-5.4.0/tests/tools-sh/testall.sh
@@ -56,7 +56,7 @@ echo "==================================
while read bugNo expected
do
# echo Testing $bugNo | tee -a "${TY_RESULTS_FILE}"
- ./testone.sh $bugNo $expected | tee -a "${TY_RESULTS_FILE}"
+ ./testone.sh $bugNo $expected || exit 1
done < $TMPINP
echo "========================================" >> "${TY_RESULTS_FILE}"