From 97d772d33a6f02bf53356eabbed10f966e077450 Mon Sep 17 00:00:00 2001 From: "bob%bclary.com" Date: Thu, 28 Jul 2005 03:37:12 +0000 Subject: [PATCH] jsDriver.pl - Add Failure indicators for automated testing --- js/tests/jsDriver.pl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/js/tests/jsDriver.pl b/js/tests/jsDriver.pl index c58aefc36b42..470f6c4a627e 100755 --- a/js/tests/jsDriver.pl +++ b/js/tests/jsDriver.pl @@ -358,12 +358,12 @@ sub write_results { "
\n" .
            "# Retest List, $opt_engine_type, " .
            "generated $completion_date.\n" .
-           "# Original test base was: $list_name.\n" .
-           "# $tests_completed of " . ($#test_list + 1) .
+           "FAILURE: # Original test base was: $list_name.\n" .
+           "FAILURE: # $tests_completed of " . ($#test_list + 1) .
            " test(s) were completed, " .
            "$failures_reported failures reported.\n" .
-	   "Engine command line: $engine_command
\n" . - join ("\n", @failed_tests) . + "FAILURE: Engine command line: $engine_command
\n" . + join ("\n", map { "FAILURE: $_" } @failed_tests) . "\n
\n" . "[ Top of Page | " . "Top of Retest List ]
\n"); @@ -482,6 +482,7 @@ sub parse_args { } } else { + &dd ("opt: unknown option $option '$value'."); &usage; }