Fix the run-benchmark script, properly specifying the plan directory
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Mar 2018 07:06:23 +0000 (07:06 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Mar 2018 07:06:23 +0000 (07:06 +0000)
where the Skipped file is located.

Rubber-stamped by Carlos Alberto Lopez Perez.

* Scripts/webkitpy/benchmark_runner/run_benchmark.py:
(start):

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

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

index 14b0eff..b4ab2cf 100644 (file)
@@ -1,3 +1,13 @@
+2018-03-23  Zan Dobersek  <zdobersek@igalia.com>
+
+        Fix the run-benchmark script, properly specifying the plan directory
+        where the Skipped file is located.
+
+        Rubber-stamped by Carlos Alberto Lopez Perez.
+
+        * Scripts/webkitpy/benchmark_runner/run_benchmark.py:
+        (start):
+
 2018-03-23  Tim Horton  <timothy_horton@apple.com>
 
         Fix the build with no pasteboard
index f7c3cb9..8752f2b 100755 (executable)
@@ -86,7 +86,7 @@ def start(args):
         failed = []
         skipped = []
         planlist = BenchmarkRunner.available_plans()
-        skippedfile = os.path.join(plandir, 'Skipped')
+        skippedfile = os.path.join(BenchmarkRunner.plan_directory(), 'Skipped')
         if not planlist:
             raise Exception('Cant find any .plan file in directory %s' % BenchmarkRunner.plan_directory())
         if os.path.isfile(skippedfile):