Changeset 65831 in webkit


Ignore:
Timestamp:
Aug 23, 2010 2:29:42 PM (14 years ago)
Author:
jhoneycutt@apple.com
Message:

Layout tests do not run when using WebKitTestRunner in a Debug build.
https://bugs.webkit.org/show_bug.cgi?id=44409

Reviewed by Dan Bernstein.

WebKit2:

  • UIProcess/Launcher/win/ProcessLauncherWin.cpp:

(WebKit::ProcessLauncher::launchProcess):
Use WebKit2WebProcess_debug.exe when building Debug.

WebKitTools:

  • WebKitTestRunner/win/TestControllerWin.cpp:

(WTR::TestController::initializeInjectedBundlePath):
Use InjectedBundle_debug.dll when building Debug.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit2/ChangeLog

    r65817 r65831  
     12010-08-23  Jon Honeycutt  <jhoneycutt@apple.com>
     2
     3        Layout tests do not run when using WebKitTestRunner in a Debug build.
     4        https://bugs.webkit.org/show_bug.cgi?id=44409
     5
     6        Reviewed by Dan Bernstein.
     7
     8        * UIProcess/Launcher/win/ProcessLauncherWin.cpp:
     9        (WebKit::ProcessLauncher::launchProcess):
     10        Use WebKit2WebProcess_debug.exe when building Debug.
     11
    1122010-08-23  Daniel Bates  <dbates@rim.com>
    213
  • trunk/WebKit2/UIProcess/Launcher/win/ProcessLauncherWin.cpp

    r65465 r65831  
    3535using namespace WebCore;
    3636
     37#if !defined(NDEBUG) && (!defined(DEBUG_INTERNAL) || defined(DEBUG_ALL))
     38const LPCWSTR webProcessName = L"WebKit2WebProcess_debug.exe";
     39#else
     40const LPCWSTR webProcessName = L"WebKit2WebProcess.exe";
     41#endif
     42
    3743namespace WebKit {
    3844
     
    5258
    5359    // FIXME: We would like to pass a full path to the .exe here.
    54 #ifndef DEBUG_ALL
    55     String commandLine(L"WebKit2WebProcess.exe");
    56 #else
    57     String commandLine(L"WebKit2WebProcess_debug.exe");
    58 #endif
    5960
     61    String commandLine(webProcessName);
    6062    append(commandLineVector, commandLine);
    6163    append(commandLineVector, " -mode webprocess");
  • trunk/WebKitTools/ChangeLog

    r65811 r65831  
     12010-08-23  Jon Honeycutt  <jhoneycutt@apple.com>
     2
     3        Layout tests do not run when using WebKitTestRunner in a Debug build.
     4        https://bugs.webkit.org/show_bug.cgi?id=44409
     5
     6        Reviewed by Dan Bernstein.
     7
     8        * WebKitTestRunner/win/TestControllerWin.cpp:
     9        (WTR::TestController::initializeInjectedBundlePath):
     10        Use InjectedBundle_debug.dll when building Debug.
     11
    1122010-08-23  Xan Lopez  <xlopez@igalia.com>
    213
  • trunk/WebKitTools/WebKitTestRunner/win/TestControllerWin.cpp

    r65537 r65831  
    4141#if !defined(NDEBUG) && (!defined(DEBUG_INTERNAL) || defined(DEBUG_ALL))
    4242const LPWSTR testPluginDirectoryName = L"TestNetscapePlugin_Debug";
     43const char* injectedBundleDLL = "\\InjectedBundle_debug.dll";
    4344#else
    4445const LPWSTR testPluginDirectoryName = L"TestNetscapePlugin";
     46const char* injectedBundleDLL = "\\InjectedBundle.dll";
    4547#endif
    4648
     
    105107    CFStringRef exeContainerPath = CFURLCopyFileSystemPath(CFURLCreateCopyDeletingLastPathComponent(0, CFBundleCopyExecutableURL(CFBundleGetMainBundle())), kCFURLWindowsPathStyle);
    106108    CFMutableStringRef bundlePath = CFStringCreateMutableCopy(0, 0, exeContainerPath);
    107 #ifdef DEBUG_ALL
    108     CFStringAppendCString(bundlePath, "\\InjectedBundle_debug.dll", kCFStringEncodingWindowsLatin1);
    109 #else
    110     CFStringAppendCString(bundlePath, "\\InjectedBundle.dll", kCFStringEncodingWindowsLatin1);
    111 #endif
    112    
     109    CFStringAppendCString(bundlePath, injectedBundleDLL, kCFStringEncodingWindowsLatin1);
    113110    m_injectedBundlePath.adopt(WKStringCreateWithCFString(bundlePath));
    114111}
Note: See TracChangeset for help on using the changeset viewer.