From 8fdf606c82b2c22c0a1c3ac79eafe987c8b6142a Mon Sep 17 00:00:00 2001 From: "akkana%netscape.com" Date: Fri, 16 May 2003 18:19:44 +0000 Subject: [PATCH] If the serializer test fails, print the url of some helpful doc. r=mcafee sr=alecf a=sspitzer git-svn-id: svn://10.0.0.236/trunk@142547 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/htmlparser/tests/outsinks/TestOutSinks.pl | 7 +++++-- mozilla/parser/htmlparser/tests/outsinks/TestOutSinks.pl | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/mozilla/htmlparser/tests/outsinks/TestOutSinks.pl b/mozilla/htmlparser/tests/outsinks/TestOutSinks.pl index 08227c7fe43..baf159bbb85 100755 --- a/mozilla/htmlparser/tests/outsinks/TestOutSinks.pl +++ b/mozilla/htmlparser/tests/outsinks/TestOutSinks.pl @@ -23,6 +23,8 @@ # # This is a collection of test files to guard against regressions # in the Mozilla output system. +# Documentation on the tests is available at: +# http://www.mozilla.org/editor/serializer-tests.html # # Make sure . is in the path, so we can load the other shared libraries @@ -87,8 +89,9 @@ if ($status != 0) { } if ($errmsg ne "") { - print "\nERROR: DOM CONVERSION TEST FAILED: $errmsg\n"; + print "\nERROR: DOM SERIALIZER TEST FAILED: $errmsg\n"; + print "See http://www.mozilla.org/editor/serializer-tests.html for help.\n" exit 1 } else { - print "DOM CONVERSION TESTS SUCCEEDED\n"; + print "DOM SERIALIZER TESTS SUCCEEDED\n"; } diff --git a/mozilla/parser/htmlparser/tests/outsinks/TestOutSinks.pl b/mozilla/parser/htmlparser/tests/outsinks/TestOutSinks.pl index 08227c7fe43..baf159bbb85 100755 --- a/mozilla/parser/htmlparser/tests/outsinks/TestOutSinks.pl +++ b/mozilla/parser/htmlparser/tests/outsinks/TestOutSinks.pl @@ -23,6 +23,8 @@ # # This is a collection of test files to guard against regressions # in the Mozilla output system. +# Documentation on the tests is available at: +# http://www.mozilla.org/editor/serializer-tests.html # # Make sure . is in the path, so we can load the other shared libraries @@ -87,8 +89,9 @@ if ($status != 0) { } if ($errmsg ne "") { - print "\nERROR: DOM CONVERSION TEST FAILED: $errmsg\n"; + print "\nERROR: DOM SERIALIZER TEST FAILED: $errmsg\n"; + print "See http://www.mozilla.org/editor/serializer-tests.html for help.\n" exit 1 } else { - print "DOM CONVERSION TESTS SUCCEEDED\n"; + print "DOM SERIALIZER TESTS SUCCEEDED\n"; }