Unreviewed build fix. Initialize result in the case things blow up below.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Jun 2015 00:21:05 +0000 (00:21 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Jun 2015 00:21:05 +0000 (00:21 +0000)
* Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
(BenchmarkRunner.execute):

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

Tools/ChangeLog
Tools/Scripts/webkitpy/benchmark_runner/benchmark_runner.py

index b4126ad9ebd293fd32c78ffef7dba438be86f6b3..1b00a6999e56ca810360213f07fad643b4a34124 100644 (file)
@@ -1,3 +1,10 @@
+2015-06-08  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Unreviewed build fix. Initialize result in the case things blow up below.
+
+        * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
+        (BenchmarkRunner.execute):
+
 2015-06-08  Ryosuke Niwa  <rniwa@webkit.org>
 
         Partially revert and fix after r185243.
index 86de6183a7819291d6f25c0612952f46caacbbbc..ff3712541fa2153b1fc6566daf5d085aa2e8973d 100644 (file)
@@ -76,6 +76,7 @@ class BenchmarkRunner(object):
             self.browserDriver.prepareEnv()
             url = urlparse.urljoin(self.httpServerDriver.baseUrl(), self.planName + '/' + self.plan['entry_point'])
             self.browserDriver.launchUrl(url, self.buildDir)
+            result = None
             try:
                 with timeout(self.plan['timeout']):
                     result = self.httpServerDriver.fetchResult()