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

Changeset 157607 in webkit


Ignore:
Timestamp:
Oct 17, 2013, 3:28:32 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

Run JavaScriptCore tests again on Windows.
https://bugs.webkit.org/show_bug.cgi?id=122787

Patch by Alex Christensen <achristensen@webkit.org> on 2013-10-17
Reviewed by Tim Horton.

Source/JavaScriptCore:

  • JavaScriptCore.vcxproj/JavaScriptCore.sln: Added.
  • jit/JITStubsMSVC64.asm: Removed reference to cti_vm_throw unused since r157581.

Tools:

  • Scripts/build-jsc:

(buildMyProject): Use JavaScriptCore.sln to build JavaScriptCore and WTF.

  • Scripts/run-javascriptcore-tests: Don't run stress tests on WinCairo.
  • Scripts/webkitdirs.pm:

(determineConfigurationForVisualStudio):
(determineConfigurationProductDir):
Build directory should end with bin64 and configuration should end with |x64 on Win64.
(isAppleWinWebKit):
(copyInspectorFrontendFiles):
(setPathForRunningWebKitApp):
Separated WinCairo directories and options from AppleWin.

Location:
trunk
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r157604 r157607  
     12013-10-17  Alex Christensen  <achristensen@webkit.org>
     2
     3        Run JavaScriptCore tests again on Windows.
     4        https://bugs.webkit.org/show_bug.cgi?id=122787
     5
     6        Reviewed by Tim Horton.
     7
     8        * JavaScriptCore.vcxproj/JavaScriptCore.sln: Added.
     9        * jit/JITStubsMSVC64.asm: Removed reference to cti_vm_throw unused since r157581.
     10
    1112013-10-17  Geoffrey Garen  <ggaren@apple.com>
    212
  • trunk/Source/JavaScriptCore/jit/JITStubsMSVC64.asm

    r157581 r157607  
    2424;*/
    2525
    26 EXTERN cti_vm_throw : near
    2726EXTERN cti_vm_handle_exception : near
    2827EXTERN getHostCallReturnValueWithExecState : near
  • trunk/Tools/ChangeLog

    r157565 r157607  
     12013-10-17  Alex Christensen  <achristensen@webkit.org>
     2
     3        Run JavaScriptCore tests again on Windows.
     4        https://bugs.webkit.org/show_bug.cgi?id=122787
     5
     6        Reviewed by Tim Horton.
     7
     8        * Scripts/build-jsc:
     9        (buildMyProject): Use JavaScriptCore.sln to build JavaScriptCore and WTF.
     10        * Scripts/run-javascriptcore-tests: Don't run stress tests on WinCairo.
     11        * Scripts/webkitdirs.pm:
     12        (determineConfigurationForVisualStudio):
     13        (determineConfigurationProductDir):
     14        Build directory should end with bin64 and configuration should end with |x64 on Win64.
     15        (isAppleWinWebKit):
     16        (copyInspectorFrontendFiles):
     17        (setPathForRunningWebKitApp):
     18        Separated WinCairo directories and options from AppleWin.
     19
    1202013-10-17  Mihnea Ovidenie  <mihnea@adobe.com>
    221
  • trunk/Tools/Scripts/build-jsc

    r156895 r157607  
    8585    if (isAppleMacWebKit()) {
    8686        $result = system "sh", "-c", ('xcodebuild -project ' . $projectName . '.xcodeproj "$@" | grep -v setenv && exit ${PIPESTATUS[0]}'), "xcodebuild",  @options, @ARGV, @coverageSupportOptions;
    87     } elsif (isAppleWinWebKit()) {
    88         $result = buildVisualStudioProject("$projectName.vcxproj/$projectName.submit.sln");
     87    } elsif (isAppleWinWebKit() || isWinCairo()) {
     88        # WTF is a part of JavaScriptCore.sln because jsc.exe wouldn't start otherwise.
     89        if ($projectName ne "WTF") {
     90            $result = buildVisualStudioProject("$projectName.vcxproj/$projectName.sln");
     91        }
    8992    } elsif (isGtk()) {
    9093        checkForArgumentAndRemoveFromARGV("--gtk");
  • trunk/Tools/Scripts/run-javascriptcore-tests

    r157014 r157607  
    7575# FIXME: run-jsc-stress-tests should be ported to other platforms.
    7676# https://bugs.webkit.org/show_bug.cgi?id=120809
    77 my $runJSCStress = !isAppleWinWebKit();
     77my $runJSCStress = !isAppleWinWebKit() && !isWinCairo();
    7878
    7979my $enableFTL = 0;
  • trunk/Tools/Scripts/webkitdirs.pm

    r157322 r157607  
    461461    determineConfiguration();
    462462    # FIXME: We should detect when Debug_All or Production has been chosen.
    463     $configurationForVisualStudio = $configuration;
     463    $configurationForVisualStudio = $configuration . (isWin64() ? "|x64" : "");
    464464}
    465465
     
    478478    determineBaseProductDir();
    479479    determineConfiguration();
    480     if (isAppleWinWebKit()) {
     480    if (isAppleWinWebKit() || isWinCairo()) {
    481481        my $binDir = isWin64() ? "bin64" : "bin32";
    482         $configurationProductDir = File::Spec->catdir($baseProductDir, configurationForVisualStudio(), $binDir);
     482        $configurationProductDir = File::Spec->catdir($baseProductDir, $configuration, $binDir);
    483483    } else {
    484484        if (usesPerConfigurationBuildDirectory()) {
     
    12141214sub isAppleWinWebKit()
    12151215{
    1216     return isAppleWebKit() && (isCygwin() || isWindows());
     1216    return isAppleWebKit() && (isCygwin() || isWindows()) && !isWinCairo();
    12171217}
    12181218
     
    16511651            $inspectorResourcesDirPath = $productDir . "/WebCore.framework/Resources/inspector";
    16521652        }
    1653     } elsif (isAppleWinWebKit()) {
     1653    } elsif (isAppleWinWebKit() || isWinCairo()) {
    16541654        $inspectorResourcesDirPath = $productDir . "/WebKit.resources/inspector";
    16551655    } elsif (isGtk()) {
     
    21522152    if (isAppleWinWebKit()) {
    21532153        $env->{PATH} = join(':', productDir(), dirname(installedSafariPath()), appleApplicationSupportPath(), $env->{PATH} || "");
     2154    } elsif (isWinCairo()) {
     2155        my $winCairoBin = sourceDir() . "/WebKitLibraries/win/" . (isWin64() ? "bin64/" : "bin32/");
     2156        $env->{PATH} = join(':', productDir(), $winCairoBin , $env->{PATH} || "");
    21542157    }
    21552158}
Note: See TracChangeset for help on using the changeset viewer.