<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>61778</bug_id>
          
          <creation_ts>2011-05-31 03:19:57 -0700</creation_ts>
          <short_desc>[Qt] Make run-webkit-tests work under Cygwin</short_desc>
          <delta_ts>2012-02-21 06:03:36 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P1</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>55056</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ademar</cc>
    
    <cc>hausmann</cc>
    
    <cc>ossy</cc>
    
    <cc>sergio.ahumada</cc>
    
    <cc>vestbo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>412528</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-05-31 03:19:57 -0700</bug_when>
    <thetext>Tor Arne fixed ORWT once: https://bugs.webkit.org/show_bug.cgi?id=33895, but it doesn&apos;t work now under Cygwin.

As far as I know running layout tests on a Windows bot is necessary 
for QtWebKit 2.2 release, so I added this bug to the blocker list of 2.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>412545</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-05-31 04:02:39 -0700</bug_when>
    <thetext>first error:

animations/animation-shorthand.html -&gt; crashed
Can&apos;t exec &quot;qmake&quot;: No such file or directory at /cygdrive/e/webkit_git1/Tools/Scripts/webkitdirs.pm line 1898.
Use of uninitialized value $qtLibs in substitution (s///) at /cygdrive/e/webkit_git1/Tools/Scripts/webkitdirs.pm line 1899.
Use of uninitialized value $qtLibs in join or string at /cygdrive/e/webkit_git1/Tools/Scripts/webkitdirs.pm line 1900.
.Use of uninitialized value $convertedPath in substitution (s///) at Tools/Scripts/old-run-webkit-tests line 1864.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>412546</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-05-31 04:05:21 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; first error:
&gt; 
&gt; animations/animation-shorthand.html -&gt; crashed
&gt; Can&apos;t exec &quot;qmake&quot;: No such file or directory at /cygdrive/e/webkit_git1/Tools/Scripts/webkitdirs.pm line 1898.
&gt; Use of uninitialized value $qtLibs in substitution (s///) at /cygdrive/e/webkit_git1/Tools/Scripts/webkitdirs.pm line 1899.
&gt; Use of uninitialized value $qtLibs in join or string at /cygdrive/e/webkit_git1/Tools/Scripts/webkitdirs.pm line 1900.
&gt; .Use of uninitialized value $convertedPath in substitution (s///) at Tools/Scripts/old-run-webkit-tests line 1864.

The problem is in setPathForRunningWebKitApp function:
my $qtLibs = `$qmakebin -query QT_INSTALL_LIBS`;

I have no idea why, but backtick doesn&apos;t work here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>412547</commentid>
    <comment_count>3</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-05-31 04:12:11 -0700</bug_when>
    <thetext>second error:

open3: exec of perl /cygdrive/e/webkit_git1/Tools/Scripts/execAppWithEnv &quot;%ENV = (&apos;HOMEDRIVE&apos; =&gt; &apos;C:&apos;,&apos;_NT_SYMBOL_PATH&apos; =&gt; undef,&apos;QTWEBKIT_PLUGIN_PATH&apos; =&gt; &apos;/cygdrive/e/webkit_git1/WebKitBuild/Release/lib/plugins&apos;,&apos;HOMEPATH&apos; =&gt; &apos;\\Documents and Settings\\Administrator&apos;,&apos;PATH&apos; =&gt; &apos;/cygdrive/c/QtSDK/Desktop/Qt/4.7.2/mingw/lib;/cygdrive/e/webkit_git1/WebKitBuild/Release/lib;&apos;,&apos;WEBKIT_TESTFONTS&apos; =&gt; &apos;/cygdrive/e/webkit_testfonts&apos;,&apos;DUMPRENDERTREE_TEMP&apos; =&gt; &apos;/tmp/DumpRenderTree-mi5h2a&apos;,&apos;XML_CATALOG_FILES&apos; =&gt; &apos;&apos;,&apos;QT_DRT_WEBVIEW_MODE&apos; =&gt; undef);&quot; /cygdrive/e/webkit_git1/WebKitBuild/Release/bin/DumpRenderTree - failed at Tools/Scripts/old-run-webkit-tests line 1503


If I run this command manually in cygwin, it works for me correctly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>412548</commentid>
    <comment_count>4</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-05-31 04:15:58 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; second error:
&gt; 
&gt; open3: exec of perl /cygdrive/e/webkit_git1/Tools/Scripts/execAppWithEnv &quot;%ENV = (&apos;HOMEDRIVE&apos; =&gt; &apos;C:&apos;,&apos;_NT_SYMBOL_PATH&apos; =&gt; undef,&apos;QTWEBKIT_PLUGIN_PATH&apos; =&gt; &apos;/cygdrive/e/webkit_git1/WebKitBuild/Release/lib/plugins&apos;,&apos;HOMEPATH&apos; =&gt; &apos;\\Documents and Settings\\Administrator&apos;,&apos;PATH&apos; =&gt; &apos;/cygdrive/c/QtSDK/Desktop/Qt/4.7.2/mingw/lib;/cygdrive/e/webkit_git1/WebKitBuild/Release/lib;&apos;,&apos;WEBKIT_TESTFONTS&apos; =&gt; &apos;/cygdrive/e/webkit_testfonts&apos;,&apos;DUMPRENDERTREE_TEMP&apos; =&gt; &apos;/tmp/DumpRenderTree-mi5h2a&apos;,&apos;XML_CATALOG_FILES&apos; =&gt; &apos;&apos;,&apos;QT_DRT_WEBVIEW_MODE&apos; =&gt; undef);&quot; /cygdrive/e/webkit_git1/WebKitBuild/Release/bin/DumpRenderTree - failed at Tools/Scripts/old-run-webkit-tests line 1503
&gt; 
&gt; 
&gt; If I run this command manually in cygwin, it works for me correctly.

I tried to get rid $perlInterpreter from launchWithEnv function.
And now it can run DumpRenderTree, but library path is missing:

/cygdrive/e/webkit_git1/WebKitBuild/Release/bin/DumpRenderTree.exe: error while loading shared libraries: MSVCR90.dll: cannot open shared object file: No such file or directory</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>412550</commentid>
    <comment_count>5</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-05-31 04:33:35 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; second error:
&gt; 
&gt; open3: exec of perl /cygdrive/e/webkit_git1/Tools/Scripts/execAppWithEnv &quot;%ENV = (&apos;HOMEDRIVE&apos; =&gt; &apos;C:&apos;,&apos;_NT_SYMBOL_PATH&apos; =&gt; undef,&apos;QTWEBKIT_PLUGIN_PATH&apos; =&gt; &apos;/cygdrive/e/webkit_git1/WebKitBuild/Release/lib/plugins&apos;,&apos;HOMEPATH&apos; =&gt; &apos;\\Documents and Settings\\Administrator&apos;,&apos;PATH&apos; =&gt; &apos;/cygdrive/c/QtSDK/Desktop/Qt/4.7.2/mingw/lib;/cygdrive/e/webkit_git1/WebKitBuild/Release/lib;&apos;,&apos;WEBKIT_TESTFONTS&apos; =&gt; &apos;/cygdrive/e/webkit_testfonts&apos;,&apos;DUMPRENDERTREE_TEMP&apos; =&gt; &apos;/tmp/DumpRenderTree-mi5h2a&apos;,&apos;XML_CATALOG_FILES&apos; =&gt; &apos;&apos;,&apos;QT_DRT_WEBVIEW_MODE&apos; =&gt; undef);&quot; /cygdrive/e/webkit_git1/WebKitBuild/Release/bin/DumpRenderTree - failed at Tools/Scripts/old-run-webkit-tests line 1503


Hmmm, very strange .... I don&apos;t know how guess old-run-webkit-tests this Qt path, because on my PATH there is only one Qt: /cygdrive/c/gn
uwin32/bin:/cygdrive/c/QtSDK/Desktop/Qt/4.7.2/msvc2008/bin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>412560</commentid>
    <comment_count>6</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-05-31 05:19:50 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; Hmmm, very strange .... I don&apos;t know how guess old-run-webkit-tests this Qt path, because on my PATH there is only one Qt: /cygdrive/c/gn
&gt; uwin32/bin:/cygdrive/c/QtSDK/Desktop/Qt/4.7.2/msvc2008/bin

Nevermind. It caused my hack.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>412561</commentid>
    <comment_count>7</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-05-31 05:24:05 -0700</bug_when>
    <thetext>/cygdrive/e/webkit_git1/WebKitBuild/Release/bin/DumpRenderTree.exe: error while loading shared libraries: QtXml4.dll: cannot open shared object file: No such file or directory</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>425234</commentid>
    <comment_count>8</comment_count>
    <who name="Ademar Reis">ademar</who>
    <bug_when>2011-06-22 07:54:57 -0700</bug_when>
    <thetext>Even though we never had layout tests running on windows before, we&apos;ll need this in place to support qtwebkit-2.2 minor updates later (to avoid regressions on windows).

But we&apos;re having trouble allocating people to work on this, so this bug won&apos;t block the release (marking it as &quot;nice-to-have&quot;), at least for now. :(

BTW, see also Bug 61780</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>560829</commentid>
    <comment_count>9</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-02-21 06:03:36 -0800</bug_when>
    <thetext>I don&apos;t think if we ever would like to run layout tests with ORWT on Windows.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>