|author||Dirk Pranke <firstname.lastname@example.org>||Thu Aug 13 23:26:40 2020|
|committer||LUCI CQ <email@example.com>||Thu Aug 13 23:26:40 2020|
Pass build directory from builder to tester. In switching builders to set the swarming command line directly, we had been relying on the tester having the same build directory configured as the builder (e.g., "out/Debug"). However, if you have a 64-bit builder running on Windows and a thin tester running on Linux, by default you'll build into "out/Release_x64" and try to use "out/Release" on the tester. We should've just been passing the build directory to use along with the other information on the command line, so as to not rely on this. This CL adds an additional build property, 'swarming_command_lines_cwd', to do that. Bug: 1116139, 1108005 Change-Id: I68d29532fa2acebfe12f5c1c27930ffe00926fc3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2354631 Commit-Queue: Dirk Pranke <firstname.lastname@example.org> Reviewed-by: Garrett Beaty <email@example.com>
If you're here to make a change to ‘recipes’ (the code located in
scripts/slave/recipes*), please take a look at the README for more information pertaining to recipes.
The preferred style is PEP8 with two-space indent; that is, the Chromium Python style. Functions use
lowercase_with_underscores, with the exception of the special functions
RunTests in recipes. Use yapf (
git cl format --no-clang-format) to autoformat new code.