Skip to content
Permalink
Browse files
Update shebang for run-benchmark scripts.
Reviewed by Jonathan Bedard.

Use python3 in shebang for run-benchmark.
Remove shebang from modules in benchmark_runner.

* Tools/Scripts/run-benchmark:
* Tools/Scripts/webkitpy/benchmark_runner/benchmark_builder.py:
* Tools/Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
* Tools/Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py:
* Tools/Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver_factory.py:
* Tools/Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:
* Tools/Scripts/webkitpy/benchmark_runner/browser_driver/osx_firefox_driver.py:
* Tools/Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
* Tools/Scripts/webkitpy/benchmark_runner/generic_factory.py:
* Tools/Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py:
* Tools/Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver.py:
* Tools/Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver_factory.py:
* Tools/Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py:
* Tools/Scripts/webkitpy/benchmark_runner/run_benchmark.py:
* Tools/Scripts/webkitpy/benchmark_runner/utils.py:
* Tools/Scripts/webkitpy/benchmark_runner/webdriver_benchmark_runner.py:
* Tools/Scripts/webkitpy/benchmark_runner/webserver_benchmark_runner.py:


Canonical link: https://commits.webkit.org/247243@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@289773 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
dewei-zhu committed Feb 14, 2022
1 parent bfcb193 commit 585176d8609409a2e9c1e14d40df069f8883e4b7
Show file tree
Hide file tree
Showing 17 changed files with 3 additions and 34 deletions.
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import logging
import sys
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import logging
import tempfile
import os
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import json
import logging
import sys
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from abc import ABCMeta, abstractmethod
from webkitpy.benchmark_runner.utils import get_driver_binary_path

@@ -1,6 +1,3 @@
#!/usr/bin/env python


class BrowserDriverFactory(object):

browser_drivers = {}
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import logging
import os

@@ -1,5 +1,3 @@
#!/usr/bin/env python

import logging
import os
import shutil
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import logging
import os
import sys
@@ -8,7 +6,6 @@
import time

from webkitpy.benchmark_runner.browser_driver.osx_browser_driver import OSXBrowserDriver
from webkitpy.benchmark_runner.utils import force_remove


_log = logging.getLogger(__name__)
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import logging


@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import argparse
import logging
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from abc import abstractmethod, ABCMeta
from six import with_metaclass

@@ -1,6 +1,3 @@
#!/usr/bin/env python


from webkitpy.benchmark_runner.generic_factory import GenericFactory


@@ -1,5 +1,3 @@
#!/usr/bin/env python

import logging
import os
import re
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import argparse
import json
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import imp
import inspect
import logging
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import json
import logging

@@ -1,5 +1,3 @@
#!/usr/bin/env python

import json
import logging
import sys

0 comments on commit 585176d

Please sign in to comment.