⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 170426 in webkit


Ignore:
Timestamp:
Jun 25, 2014, 5:25:20 AM (12 years ago)
Author:
Michał Pakuła vel Rutka
Message:

[EFL] Remove WebKit1 related code from scripts
https://bugs.webkit.org/show_bug.cgi?id=134195

Reviewed by Laszlo Gombos.

After removing WebKit1 from EFL port, still there is some code left related to DumpRenderTree,
EWebLauncher. Also running layout tests does not require adding -2/--webkit-test-runner switch.

  • Scripts/run-launcher: MiniBrowser now runs as default without -2 switch.
  • Scripts/webkitdirs.pm:

(builtDylibPathForName): Remove reference to libewebkit.so

  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:

(_set_up_derived_options): Script runs WKTR by default.

  • Scripts/webkitpy/performance_tests/perftestsrunner.py:

(PerfTestsRunner.init): Ditto.

  • Scripts/webkitpy/port/efl.py:

(EflPort._search_paths): Remove efl-wk2 from baseline search path.
(EflPort.show_results_html_file): Run MiniBrowser as result viewer.

Location:
trunk/Tools
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r170425 r170426  
     12014-06-25  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
     2
     3        [EFL] Remove WebKit1 related code from scripts
     4        https://bugs.webkit.org/show_bug.cgi?id=134195
     5
     6        Reviewed by Laszlo Gombos.
     7
     8        After removing WebKit1 from EFL port, still there is some code left related to DumpRenderTree,
     9        EWebLauncher. Also running layout tests does not require adding -2/--webkit-test-runner switch.
     10
     11        * Scripts/run-launcher: MiniBrowser now runs as default without -2 switch.
     12        * Scripts/webkitdirs.pm:
     13        (builtDylibPathForName): Remove reference to libewebkit.so
     14        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
     15        (_set_up_derived_options): Script runs WKTR by default.
     16        * Scripts/webkitpy/performance_tests/perftestsrunner.py:
     17        (PerfTestsRunner.__init__): Ditto.
     18        * Scripts/webkitpy/port/efl.py:
     19        (EflPort._search_paths): Remove efl-wk2 from baseline search path.
     20        (EflPort.show_results_html_file): Run MiniBrowser as result viewer.
     21
    1222014-06-25  Laszlo Gombos  <l.gombos@samsung.com>
    223
  • trunk/Tools/Scripts/run-launcher

    r167081 r170426  
    4646
    4747# Set paths according to the build system used
    48 if (isGtk()) {
     48if (isGtk() || isEfl()) {
    4949    $launcherPath = catdir($productDir, "bin", "MiniBrowser");
    50 } elsif (isEfl()) {
    51     if (isWK2()) {
    52         $launcherPath = catdir($productDir, "bin", "MiniBrowser");
    53     } else {
    54         $launcherPath = catdir($productDir, "bin", "EWebLauncher");
    55     }
    5650}
    5751
  • trunk/Tools/Scripts/webkitdirs.pm

    r170189 r170426  
    830830    }
    831831    if (isEfl()) {
    832         if (isWK2()) {
    833             return "$configurationProductDir/lib/libewebkit2.so";
    834         }
    835         return "$configurationProductDir/lib/libewebkit.so";
     832        return "$configurationProductDir/lib/libewebkit2.so";
    836833    }
    837834    if (isWinCE()) {
  • trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py

    r167426 r170426  
    383383        options.verbose = True
    384384
    385     # The GTK+ port only support WebKit2 so it always uses WKTR.
    386     if options.platform == "gtk":
     385    # The GTK+ and EFL ports only support WebKit2 so they always use WKTR.
     386    if options.platform == "gtk" or options.platform == "efl":
    387387        options.webkit_test_runner = True
    388388
  • trunk/Tools/Scripts/webkitpy/performance_tests/perftestsrunner.py

    r169893 r170426  
    6767            self._port = self._host.port_factory.get(self._options.platform, self._options)
    6868
    69         # The GTK+ port only supports WebKit2, so it always uses WKTR.
    70         if self._port.name().startswith("gtk"):
     69        # The GTK+ and EFL ports only supports WebKit2, so they always use WKTR.
     70        if self._port.name().startswith("gtk") or self._port.name().startswith("efl"):
    7171            self._options.webkit_test_runner = True
    7272
  • trunk/Tools/Scripts/webkitpy/port/efl.py

    r168833 r170426  
    111111    def _search_paths(self):
    112112        search_paths = []
    113         if self.get_option('webkit_test_runner'):
    114             search_paths.append(self.port_name + '-wk2')
    115             search_paths.append('wk2')
    116         else:
    117             search_paths.append(self.port_name + '-wk1')
     113        search_paths.append('wk2')
    118114        search_paths.append(self.port_name)
    119115        return search_paths
     
    130126        # or teach run-launcher how to call run-safari and move this down to WebKitPort.
    131127        run_launcher_args = ["file://%s" % results_filename]
    132         if self.get_option('webkit_test_runner'):
    133             run_launcher_args.append('-2')
    134128        # FIXME: old-run-webkit-tests also added ["-graphicssystem", "raster", "-style", "windows"]
    135129        # FIXME: old-run-webkit-tests converted results_filename path for cygwin.
Note: See TracChangeset for help on using the changeset viewer.