Changeset 212148 in webkit


Ignore:
Timestamp:
Feb 10, 2017 1:58:23 PM (7 years ago)
Author:
Jonathan Bedard
Message:

Removing LayoutTestRelay
https://bugs.webkit.org/show_bug.cgi?id=165927

Reviewed by Daniel Bates.
Part 2

LayoutTestRelay uses SPI, since recent versions of the iOS SDK allow for installing apps on
simulators through simctl (iOS 10 and later), use this functionality instead.

Source/WebCore:

  • platform/RuntimeApplicationChecks.mm:

(WebCore::IOSApplication::isDumpRenderTree): Update comment to reflect removal of LayoutTestRelay.

Tools:

  • BuildSlaveSupport/built-product-archive:

(archiveBuiltProduct): Remove archiving of LayoutTestRelay as it is no longer being built.
Added a FIXME that we will need to implement similar archiving machinery once we build
ImageDiff for Mac when building WebKit for iOS. Currently ImageDiff is built with the iOS SDK.

  • BuildSlaveSupport/kill-old-processes:

(main): Remove LayoutTestRelay from list of processes.

  • LayoutTestRelay: Removed LayoutTestRelay.
  • Makefile:
  • Scripts/build-layouttestrelay: Removed.
  • Scripts/build-webkit: Removed LayoutTestRelay references.
Location:
trunk
Files:
2 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r212144 r212148  
     12017-02-10  Jonathan Bedard  <jbedard@apple.com>
     2
     3        Removing LayoutTestRelay
     4        https://bugs.webkit.org/show_bug.cgi?id=165927
     5
     6        Reviewed by Daniel Bates.
     7        Part 2
     8
     9        LayoutTestRelay uses SPI, since recent versions of the iOS SDK allow for installing apps on
     10        simulators through simctl (iOS 10 and later), use this functionality instead.
     11
     12        * platform/RuntimeApplicationChecks.mm:
     13        (WebCore::IOSApplication::isDumpRenderTree): Update comment to reflect removal of LayoutTestRelay.
     14
    1152017-02-10  Youenn Fablet  <youenn@apple.com>
    216
  • trunk/Source/WebCore/platform/RuntimeApplicationChecks.mm

    r211654 r212148  
    179179bool IOSApplication::isDumpRenderTree()
    180180{
    181     // We use a prefix match instead of strict equality since LayoutTestRelay may launch multiple instances of
    182     // DumpRenderTree where the bundle identifier of each instance has a unique suffix.
     181    // We use a prefix match instead of strict equality since multiple instances of DumpRenderTree
     182    // may be launched, where the bundle identifier of each instance has a unique suffix.
    183183    static bool isDumpRenderTree = applicationBundleIsEqualTo("org.webkit.DumpRenderTree"); // e.g. org.webkit.DumpRenderTree0
    184184    return isDumpRenderTree;
  • trunk/Tools/BuildSlaveSupport/built-product-archive

    r211380 r212148  
    166166    assert platform in ('mac', 'win', 'gtk', 'efl', 'ios')
    167167
    168     if fullPlatform.startswith('ios-simulator'):
    169         # We need to include in the archive the Mac tool, LayoutTestRelay, to run layout tests in the iOS simulator.
    170         combinedDirectory = os.path.join(_topLevelBuildDirectory, 'combined-mac-and-ios')
    171         removeDirectoryIfExists(combinedDirectory)
    172         os.makedirs(combinedDirectory)
    173 
    174         if subprocess.call(['/bin/cp', '-pR', _configurationBuildDirectory, combinedDirectory]):
    175             return 1
    176 
    177         macBuildDirectory = webkitBuildDirectoryForConfigurationAndPlatform(configuration, 'mac')
    178         destinationDirectory = os.path.join(combinedDirectory, os.path.relpath(macBuildDirectory, _topLevelBuildDirectory))
    179         os.makedirs(destinationDirectory)
    180         for filename in ['LayoutTestRelay', 'LayoutTestRelay.dSYM']:
    181             sourceFile = os.path.join(macBuildDirectory, filename)
    182             if not os.path.exists(sourceFile):
    183                 continue
    184             if subprocess.call(['/bin/cp', '-pR', sourceFile, destinationDirectory]):
    185                 return 1
    186 
    187         if createZip(combinedDirectory, configuration):
    188             return 1
    189         shutil.rmtree(combinedDirectory)
    190     elif platform in ('mac', 'ios'):
     168    # FIXME: ImageDiff should be built with the host SDK, <rdar://problem/30266038>.
     169    # An approach similar to the one used for LayoutTestRelay in r190515 should be imlemented.
     170    if platform in ('mac', 'ios'):
    191171        return createZip(_configurationBuildDirectory, configuration, embedParentDirectoryNameOnDarwin=True)
    192172    elif platform == 'win':
  • trunk/Tools/BuildSlaveSupport/kill-old-processes

    r198596 r212148  
    9191        # FIXME: Consider moving iOS-specific tasks to their own list.
    9292        "Simulator",
    93         "LayoutTestRelay"
    9493    ]
    9594
  • trunk/Tools/ChangeLog

    r212135 r212148  
     12017-02-10  Jonathan Bedard  <jbedard@apple.com>
     2
     3        Removing LayoutTestRelay
     4        https://bugs.webkit.org/show_bug.cgi?id=165927
     5
     6        Reviewed by Daniel Bates.
     7        Part 2
     8
     9        LayoutTestRelay uses SPI, since recent versions of the iOS SDK allow for installing apps on
     10        simulators through simctl (iOS 10 and later), use this functionality instead.
     11
     12        * BuildSlaveSupport/built-product-archive:
     13        (archiveBuiltProduct): Remove archiving of LayoutTestRelay as it is no longer being built.
     14        Added a FIXME that we will need to implement similar archiving machinery once we build
     15        ImageDiff for Mac when building WebKit for iOS. Currently ImageDiff is built with the iOS SDK.
     16        * BuildSlaveSupport/kill-old-processes:
     17        (main): Remove LayoutTestRelay from list of processes.
     18        * LayoutTestRelay: Removed LayoutTestRelay.
     19        * Makefile:
     20        * Scripts/build-layouttestrelay: Removed.
     21        * Scripts/build-webkit: Removed LayoutTestRelay references.
     22
    1232017-02-10  Jiewen Tan  <jiewen_tan@apple.com>
    224
  • trunk/Tools/Makefile

    r205127 r212148  
    77        ifneq (,$(findstring iphone,$(SDKROOT)))
    88                MODULES += MobileMiniBrowser
    9         endif
    10         ifeq (,$(DO_NOT_BUILD_LAYOUT_TEST_RELAY))
    11                 MODULES += LayoutTestRelay
    129        endif
    1310endif
  • trunk/Tools/Scripts/build-webkit

    r212114 r212148  
    201201        print(join(" ", @copyLibrariesArgs) . "\n");
    202202        (system(@copyLibrariesArgs) == 0) or die;
    203 
    204         if (willUseIOSSimulatorSDK()) {
    205             (system("perl", "Tools/Scripts/build-layouttestrelay", argumentsForConfiguration()) == 0) or die;
    206         }
    207203    }
    208204
Note: See TracChangeset for help on using the changeset viewer.