Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Semantics for "--build-directory" in run_web/wpt_tests.py has changed

24 views
Skip to first unread message

Weizhong Xia

unread,
Nov 25, 2024, 5:17:22 PM11/25/24
to blink-dev
TL;DR: "--build-directory" now should point to the full path of the build directory, e.g. "out/Default"

Hello Blink Developers,

This is a belated PSA. We recently made a change to "--build-directory" to let it point to the full path of the build directory, so instead of using something like "--build-directory=your-out-dir -t your-target-dir", you should use "--build-directory=your-out-dir/your-target-dir", and "-t" is not needed in this case (assuming you are at chromium/src). This way we make the semantics for "--build-directory" consistent with other scripts used in Chromium, and hopefully save some typing in this case.

"--target" or "-t" should continue to work as usual if your target directory is under "out".

Please refer to crrev.com/c/5992459 for the background.

Thanks, Weizhong
--
Empower web platform community with a single test runner that is fast, stable and easy to use.
Reply all
Reply to author
Forward
0 new messages