mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-09 20:04:20 +00:00
This search/replace updates all copyright notices to drop the "All rights reserved", Use "ChromiumOS" instead of "Chromium OS" and drops the trailing dots. This fulfills the request from legal and unifies our notices. ./tools/health-check has been updated to only accept this style. BUG=b:246579983 TEST=./tools/health-check Change-Id: I87a80701dc651f1baf4820e5cc42469d7c5f5bf7 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3894243 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Dennis Kempin <denniskempin@google.com>
52 lines
1.4 KiB
Python
52 lines
1.4 KiB
Python
# Copyright 2022 The ChromiumOS Authors
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
from recipe_engine.post_process import Filter
|
|
|
|
PYTHON_VERSION_COMPATIBILITY = "PY3"
|
|
|
|
DEPS = [
|
|
"crosvm",
|
|
"recipe_engine/buildbucket",
|
|
"recipe_engine/context",
|
|
"recipe_engine/properties",
|
|
"recipe_engine/step",
|
|
]
|
|
|
|
|
|
def RunSteps(api):
|
|
# Note: The recipe does work on linux as well, if the required dependencies have been installed
|
|
# on the host via ./tools/install-deps.
|
|
# This allows the build to be tested via `./recipe.py run build_windows`
|
|
with api.crosvm.host_build_context():
|
|
api.step(
|
|
"Build crosvm tests",
|
|
[
|
|
"vpython3",
|
|
"./tools/run_tests",
|
|
"--verbose",
|
|
"--target=host",
|
|
"--build-only",
|
|
],
|
|
)
|
|
api.step(
|
|
"Run crosvm tests",
|
|
[
|
|
"vpython3",
|
|
"./tools/run_tests",
|
|
"--verbose",
|
|
"--target=host",
|
|
],
|
|
)
|
|
|
|
|
|
def GenTests(api):
|
|
filter_steps = Filter("Build crosvm tests", "Run crosvm tests")
|
|
yield (
|
|
api.test(
|
|
"build",
|
|
api.buildbucket.ci_build(project="crosvm/crosvm"),
|
|
)
|
|
+ api.post_process(filter_steps)
|
|
)
|