commit | d09817235b2090a5691657f2e1d9dae99796c486 | [log] [tgz] |
---|---|---|
author | Dirk Pranke <dpranke@google.com> | Wed Sep 30 14:16:10 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 30 14:16:10 2020 |
tree | f0ba9d8330da91ee0fdfc01fafe43a32b78e4f63 | |
parent | 74fbc27cd734b9ba51a717ef45513c97e2fce36f [diff] |
Add use_isolated_scripts_api key to gtest_tests chromium_test generator. In order to migrate the non-isolated-script-based tests to the isolated-scripts API, we either have to move tests around in test_suites.pyl, or make it possible to separate what a test is from what group it is part of. This CL takes the latter approach: it adds a new key, 'use_isolated_scripts_api' to the 'gtest_tests' test_spec declared in the //testing/buildbot/*.json files. If that key is set to True, we will treat that test as if it was declared in 'isolated_scripts' instead of in 'gtest_tests' (i.e., create a SwarmingIsolatedScriptTest for it instead of a SwarmingGtestTest). Bug: 1131231 Change-Id: I0cefd1eb1d4d97f9e54626a1545e7f67d0a59482 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2425210 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: Stephen Martinis <martiniss@chromium.org> Reviewed-by: Garrett Beaty <gbeaty@chromium.org>
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 RunSteps
and RunTests
in recipes. Use yapf (git cl format --no-clang-format
) to autoformat new code.