Running layout tests on Windows

55 views
Skip to first unread message

nek...@chromium.org

unread,
Apr 12, 2018, 7:36:41 PM4/12/18
to blink-dev
Hi,
Running layout tests on Windows fails and the error message points me to the general Windows build instructions that say nothing about layout tests. In any case, I already followed the build instructions.
<quote>
autoninja -C out/release blink_tests
>third_party\WebKit\Tools\Scripts\run-webkit-tests -t release accessibility\editable-root.html
Using port 'win-win10'
Test configuration: <win10, x86, release>
View the test results at file://E:\src\chromium\src\out\release\layout-test-results/results.html
Using random order with seed: 1523548421
Baseline search path: win -> generic
Using Release build
Pixel tests enabled
Regular timeout: 6000, slow test timeout: 30000
Command line: E:\src\chromium\src\out\release\content_shell.exe --run-layout-test --ignore-certificate-errors-spki-list=Nxvaj3+bY3oVrTc+Jp7m3E3sB1n3lXtnMDCyBsqEXiY= --user-data-dir --enable-direct-write --enable-crash-reporter --crash-dumps-dir=E:\src\chromium\src\out\release\crash-dumps\reports -

Found 1 test; running 1, skipping 0.
Ruby is not installed; can't generate pretty patches.

CDB is not installed; can't symbolize minidumps.

For complete Windows build requirements, please see:

Build check failed
</quote>

The file where it says that the test results should be in doesn't exist.
I don't think that either the absence of Ruby or cdb is the issue here. Ruby was never required and I don't think that not being able to find cdb should be a problem. I never needed cdb in the past.
Trying to run content_shell by itself sometimes crashes, sometimes says it can't find the file.

Any help appreciated.
Thanks,
Nektarios.

Daniel Cheng

unread,
Apr 12, 2018, 11:03:40 PM4/12/18
to nek...@chromium.org, blink-dev
I've always just run it manually:

  blink\tools\run_layout_tests.bat

Passing --nocheck-sys-deps should silence the warnings about ruby and cdb.

Daniel

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/43640029-004b-468c-ad59-c53c4e7bc08d%40chromium.org.

Nektarios Paisios

unread,
Apr 14, 2018, 4:18:10 PM4/14/18
to blink-dev, nek...@chromium.org
Still doesn't work. Build check failed. Same error.
Nektarios.

Bill Orr

unread,
Apr 15, 2018, 5:49:07 PM4/15/18
to Nektarios Paisios, blink-dev, nek...@chromium.org
The link in the error says that debugging tools for Windows are required.  Do you have them installed and in your path?


Reply all
Reply to author
Forward
0 new messages