Fix the hard-coded names of EWS bots that run tests.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 16 May 2013 23:38:13 +0000 (23:38 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 16 May 2013 23:38:13 +0000 (23:38 +0000)
* Scripts/webkitpy/tool/commands/queues.py:
(CommitQueue.did_pass_testing_ews):

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

Tools/ChangeLog
Tools/Scripts/webkitpy/tool/commands/queues.py

index 6c9bc6ec48e729cc420a1b3fa0e9c4f64d1f4c15..7aaf4ff040e4429f6710a796bf435132722898e2 100644 (file)
@@ -1,3 +1,10 @@
+2013-05-16  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Fix the hard-coded names of EWS bots that run tests.
+
+        * Scripts/webkitpy/tool/commands/queues.py:
+        (CommitQueue.did_pass_testing_ews):
+
 2013-05-16  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
 
         [GTK] Build Xvfb with jhbuild
index b80ae9ea65b306e6b82e0a7642ace2dfc0b2e0b5..74724cffbbb4dee0f00c35e36419179c956b576e 100644 (file)
@@ -381,8 +381,8 @@ class CommitQueue(PatchProcessingQueue, StepSequenceErrorHandler, CommitQueueTas
     def did_pass_testing_ews(self, patch):
         # Only Mac and Mac WK2 run tests
         # FIXME: We shouldn't have to hard-code it here.
-        status = self._tool.status_server.patch_status("mac", patch.id())
-        return status == self._pass_status
+        patch_status = self._tool.status_server.patch_status
+        return patch_status("mac-ews", patch.id()) == self._pass_status or patch_status("mac-wk2-ews", patch.id()) == self._pass_status
 
     # StepSequenceErrorHandler methods