tools/presubmit: Align with tests in CI

presubmit has slightly diverged from what we are runnning in CI,
so things like running tests with user space emulation tend to break.

This should make sure that presubmit continues to work.

We can utilized user-space emulation as when we reorganize our tests
to have unit tests that do not have special system requirements. Then
CI will be running those tests with user-space emulation as well.

BUG=b:244185215
TEST=./tools/presubmit [--quick/--all]

Change-Id: I46f6498ad030ad50d42d3365c908a16e6573b5d7
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3867535
Commit-Queue: Dennis Kempin <denniskempin@google.com>
Tested-by: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
Dennis Kempin 2022-08-31 20:02:15 +00:00 committed by crosvm LUCI
parent 2c5d3cb5c8
commit c1b656f46c

View file

@ -105,8 +105,7 @@ if [ "$ALL" == true ]; then
)
elif [ "$QUICK" != true ]; then
commands+=(
# Test via user-space emulation for faster, but less complete results.
"$(aarch64_wrapper) ./tools/run_tests --target=host --build-target=aarch64"
"$(aarch64_wrapper) ./tools/run_tests --target=vm:aarch64"
"./tools/run_tests --target=host --build-target=mingw64 --build-only"
)
fi