2009/7/6 David Jones <[email protected]>

> I have worked on webkit ,though I didn't know much about wekkit's
> layout-test. I'm curious about chrome's layout-test.
> -do you take webkit's layout-test into chrome with any changes? I don't
> think so, so what're these changes?
>

It depends a little on the platform in question.  A lot of them run
just fine (more so on the Mac), but as you look at other platforms,
font metrics tends to make for differences.  Also, so tests log
javascript errors, and since we use V8, the messages are different.


> -why simutaneously run 2 test_shell ?  for efficiency?
>

The number run depends on the number of cpus your machines has.  Yes, we run
one test shell per core to finish the tests faster.


> -while I'm runing run_webkit_test.bat, my DOS always display ERROR as
> below:
> 090706 15:37:19 __init__.py:1032 ERROR
> LayoutTests/fast/backgrounds/svg-as-mask.html failed:
>   Text diff mismatch
>   Image mismatch
> 090706 15:37:20 __init__.py:1032 ERROR
> LayoutTests/fast/block/float/013.html failed:
>   Text diff mismatch
>   Image mismatch
> 090706 15:37:21 __init__.py:1032 ERROR
> LayoutTests/fast/block/float/nested-clearance.html failed:
>   Text diff mismatch
>   Image mismatch
> What does that mean?
>

It means those two tests failed to produce the expected results.  When done,
the summary page should open with a list of any tests that didn't result in
the expected way, with links to see the expected, actual and difference in
values.


>  Which __init__.py does it use? I find a lot of __init__.py under chromium
>

The python scripts live (mostly) in src/webkit/tools/layout_tests (and the
layout_package directory under there).

TVL


>
>
>
>
> ------------------------------
> 200万种商品,最低价格,疯狂诱惑你<http://count.mail.163.com/redirect/footer.htm?f=http://gouwu.youdao.com>>
>

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to