Re: [webkit-dev] webkit test suite help

2008-01-16 Thread syed mehdi
We just integrated our code and now the revision is 29215 (earlier it was 27114). But i am still getting the same errors: can't exec flex: no such file or directory at /root/webkit/html/webkittools/scripts/webkitdirs.pm line 557. can't exec bison: no such file or directory at

Re: [webkit-dev] run-webkit-tests on Windows

2008-01-16 Thread Adam Roben
On Jan 16, 2008, at 1:38 AM, Double-Dee Zee wrote: Hi, I am having some problems with run-webkit-tests on Windows. Likely, these are simple problems, but this script is not well documented, so please let me just ask here. First, when I run run-webkit-tests, DumpRenderTree does compile and

Re: [webkit-dev] webkit test suite help

2008-01-16 Thread Adam Roben
On Jan 16, 2008, at 5:19 AM, syed mehdi wrote: We just integrated our code and now the revision is 29215 (earlier it was 27114). But i am still getting the same errors: can't exec flex: no such file or directory at /root/webkit/html/ webkittools /scripts/webkitdirs.pm line 557. can't exec

Re: [webkit-dev] Pulling together on WebKit Mobile

2008-01-16 Thread Brent Fulgham
I took Dan's advice, and modified my config.h as follows: #if PLATFORM(WIN) #define WTF_USE_JAVASCRIPTCORE_BINDINGS 1 #define WTF_USE_NPOBJECT 1 #undef WTF_PLATFORM_CG #define WTF_PLATFORM_CAIRO 1 #undef WTF_USE_CFNETWORK #define WTF_USE_WININET 1 #undef WTF_PLATFORM_CF #define WTF_USE_PTHREADS 0

Re: [webkit-dev] Pulling together on WebKit Mobile

2008-01-16 Thread Oliver Hunt
On 16/01/2008, at 1:28 PM, Brent Fulgham wrote: I took Dan's advice, and modified my config.h as follows: #if PLATFORM(WIN) #define WTF_USE_JAVASCRIPTCORE_BINDINGS 1 #define WTF_USE_NPOBJECT 1 #undef WTF_PLATFORM_CG #define WTF_PLATFORM_CAIRO 1 #undef WTF_USE_CFNETWORK #define WTF_USE_WININET

Re: [webkit-dev] Pulling together on WebKit Mobile

2008-01-16 Thread Brent Fulgham
At this point, the remaining errors are due to the Visual Studio project compiling the CG modules. I'm not sure how best to approach this: 1. Create a brand new project for non-CG Windows 2. Create new build targets in the existing solution for the non- CG target. 3. ?

Re: [webkit-dev] Pulling together on WebKit Mobile

2008-01-16 Thread zucker
I like the idea of just wrapping those files with #if PLATFORM(CG). It's slightly messy, but it works and it simplifies managing a complex VS project file. Cheers, Dan Original Message Subject: Fwd: [webkit-dev] Pulling together on

Re: [webkit-dev] Pulling together on WebKit Mobile

2008-01-16 Thread David Hyatt
This is how we did it when we (briefly) had CG and Cairo compiling simultaneously. The problem with it though is that we had a copy of Cairo in our source tree and ended up having to hack the Cairo source to put #if PLATFORM(CAIRO) around those files. If Cairo is going to be brought in

Re: [webkit-dev] Pulling together on WebKit Mobile

2008-01-16 Thread Adam Roben
On Jan 16, 2008, at 5:04 PM, David Hyatt wrote: This is how we did it when we (briefly) had CG and Cairo compiling simultaneously. The problem with it though is that we had a copy of Cairo in our source tree and ended up having to hack the Cairo source to put #if PLATFORM(CAIRO) around

Re: [webkit-dev] Pulling together on WebKit Mobile

2008-01-16 Thread zucker
You can solve this by creating additional configurations in the same VS projects/solution. Configurations are set up to let you choose different link libraries for different targets. The different targets can also set different #defines to select CG vs Cairo, etc. Personally I don't like this

Re: [webkit-dev] webkit test suite help

2008-01-16 Thread syed mehdi
I installed these three (flex, bison and gperf) so initial errors got removed but still the error: Building not defined for this platform! compiling dumprender tree failed! was coming. Regards Syed On Jan 16, 2008 9:21 PM, Adam Roben [EMAIL PROTECTED] wrote: On Jan 16, 2008, at 5:19 AM, syed

Re: [webkit-dev] webkit test suite help

2008-01-16 Thread Mark Rowe
On 17/01/2008, at 16:15, syed mehdi wrote: first i am cd ing the directory where webkit is present, than i execute WebKitTools/Scripts/run-webkit-tests on terminal. i made a few changes in run-webkit-tests and made the default value of $platform as gtk, also where we are pushing the

Re: [webkit-dev] webkit test suite help

2008-01-16 Thread Mark Rowe
On 17/01/2008, at 16:36, syed mehdi wrote: I already tried executing ./WebKitTools/Scripts/run-webkit-tests -- gtk but it gives usage info like: That's because you're not using the revision you claimed to be using! - Mark smime.p7s Description: S/MIME cryptographic signature

Re: [webkit-dev] Pulling together on WebKit Mobile

2008-01-16 Thread Brent Fulgham
On Jan 16, 2008, at 2:19 PM, [EMAIL PROTECTED] wrote: You can solve this by creating additional configurations in the same VS projects/solution. Configurations are set up to let you choose different link libraries for different targets. The different targets can also set different