[webkit-help] Layout Tests: How to specify the "--platform" parameter when use the command "new-run-webkit-tests"
cosmos_qiu
cosmos_qiu at 126.com
Thu Aug 11 07:31:36 PDT 2011
Sravan, thanks for your advice. :-)
I feel confused now....
In fact I successfully built webkit with the option "--debug -wincairo", and I could run the exe and set breakpoints normally. But when I tried to use "run-webkit-tests" to run test cases, it failed.
I checked the logs, and found that the "ImageDiff" project had a compiling error which would only happen when the "release" configuration was chosen. It is totally different between "release" and "debug wincairo" configurations. (I left the error logs in my company so I can't exactly discribe the error right here.)
Could you share me your experience about testing? It is said in the webkit.org that the testting should run in Leopard, but I see there is a "win" folder under "DumpRenderTree", so I think windows is also ok. Am I right?
BTW: I am brand new to webkit, so I don't know who is ERIC. Is he available in webkit-help mailing list?
Thanks very much~
Cosmos
At 2011-08-11 19:43:58,"SravanKumar Sandela" <sravan.ken at gmail.com> wrote:
Hi,
I do not have NRWT, but from my previous experience of running layout tests, i've looked in to old-run-webkit-tests and there is no special logic in the script that will change by looking at the word Cairo.
I am not so sure if layout tests need information about whether its cairo or skia, but looks like the script is not taking them in to account. may be ERIC can answer this.
My gut feel is, script needs "cairo" knowledge only for build and i think that is enough for layout tests to get the respective platform results.
-Sravan.
2011/8/11 cosmos.qiu<cosmos_qiu at 126.com>
Hi, everyone.
I got the documents I wanted in me previous post. And I found if I use the command "new-run-webkit-tests", I could specify the platform I used, as follows:
NRWT supports a lot of flags. Here are some of the most popular:
--platformthe platform to run (e.g., "chromium-mac", "win-wk2", etc.
--debuguse the Debug configuration
--releaseuse the Release configuration
-n--dry-rundry-run ... do everything but actually run the tests
-p--pixel-testsrun with pixel-tests enabled
--no-new-test-resultsdon't create any new test results for new tests (NRWT will create them by default
--no-show-resultsdon't display the summary HTML file in a web browser at the end of the run
I am now using the editon of win-Cairo, but I don't know how to specify the corresponding parameter.
Does anyone know the correct parameter or give me some suggestions about it?
Thank you very much.
2011-08-11
cosmos.qiu
发件人: Ryosuke Niwa
发送时间: 2011-08-11 15:25:00
收件人: 邱丹
抄送: webkit-help
主题: Re: [webkit-help] [webkit help] Layout tests documents issue
FYI, I sent her the html file.
- Ryosuke
On Thu, Aug 11, 2011 at 12:06 AM, 邱丹<cosmos_qiu at 126.com> wrote:
Hi,everyone.
I have been trying to run webkit layout tests these days and want to learn more about the test.
But I can't visit Webkit's wiki because of My County's firewall.
I'll really appreciate it if anyone can send me the documents inhttp://trac.webkit.org/wiki/NewRunWebKitTests . Saved Html Pages will be OK.
Thanks very much~
Cosmos
_______________________________________________
webkit-help mailing list
webkit-help at lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
--
Living for the unseen and undone....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20110811/38664a6b/attachment.html>
More information about the webkit-help
mailing list