mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
30 lines
630 B
Text
30 lines
630 B
Text
|
#!/bin/bash
|
||
|
# Copyright 2021 The Chromium OS Authors. All rights reserved.
|
||
|
# Use of this source code is governed by a BSD-style license that can be
|
||
|
# found in the LICENSE file.
|
||
|
set -e
|
||
|
|
||
|
cd "$(dirname $0)/.."
|
||
|
|
||
|
if [[ "$1" == "-q" ]] || [[ "$1" == "--quick" ]]; then
|
||
|
QUICK=true
|
||
|
fi
|
||
|
|
||
|
printf "\n\nRunning clippy...\n"
|
||
|
./tools/clippy
|
||
|
|
||
|
printf "\n\nRunning formatter...\n"
|
||
|
./tools/fmt --check
|
||
|
|
||
|
printf "\n\nRunning x86 tests...\n"
|
||
|
./tools/run_tests --target=host
|
||
|
|
||
|
if [ "$QUICK" = true ] ; then
|
||
|
exit
|
||
|
fi
|
||
|
|
||
|
printf "\n\nRunning aarch64 tests...\n"
|
||
|
./tools/run_tests --target=vm:aarch64
|
||
|
|
||
|
# TODO(b/203152778): Add armhf builds to presubmit
|