Fix names of failed/timed out tests in run-api-tests output
authoraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Dec 2011 18:19:40 +0000 (18:19 +0000)
committeraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Dec 2011 18:19:40 +0000 (18:19 +0000)
Fixes <http://webkit.org/b/73663> run-api-tests prints suite names twice for failed or timed
out tests

We were ending up with the suite name doubled (e.g., "WebKit2.WebKit2.MouseMoveAfterCrash").

Reviewed by Simon Fraser.

* Scripts/run-api-tests:
(runTest): Don't prepend the suite name to $test. It's already been prepended at the start
of this function.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@101821 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/run-api-tests

index 6375f4e..00fc1b8 100644 (file)
@@ -1,3 +1,18 @@
+2011-12-02  Adam Roben  <aroben@apple.com>
+
+        Fix names of failed/timed out tests in run-api-tests output
+
+        Fixes <http://webkit.org/b/73663> run-api-tests prints suite names twice for failed or timed
+        out tests
+
+        We were ending up with the suite name doubled (e.g., "WebKit2.WebKit2.MouseMoveAfterCrash").
+
+        Reviewed by Simon Fraser.
+
+        * Scripts/run-api-tests:
+        (runTest): Don't prepend the suite name to $test. It's already been prepended at the start
+        of this function.
+
 2011-11-29  Martin Robinson  <mrobinson@igalia.com>
 
         [GTK] generate-gtkdoc should respect build type
index 2d5b38a..8add834 100755 (executable)
@@ -208,10 +208,10 @@ sub runTest($$)
     }
 
     if ($result) {
-        push @testsFailed, "$suite.$test";
+        push @testsFailed, $test;
     }
     if ($timedOut) {
-        push @testsTimedOut, "$suite.$test";
+        push @testsTimedOut, $test;
         print possiblyColored("bold yellow", "Timeout"), "\n";
     } elsif (!$verbose) {
         if ($result) {