mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 04:26:38 +00:00
17 lines
594 B
Text
17 lines
594 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.
|
||
|
#
|
||
|
# Runs tests for both x86 and aarch64 (In parallel if tmux is installed).
|
||
|
|
||
|
if command -v tmux; then
|
||
|
TMUX= tmux \
|
||
|
new-session './ci/builder --vm ./run_tests;
|
||
|
echo "press enter to close"; read' \; \
|
||
|
split-window './ci/aarch64_builder --vm ./run_tests;
|
||
|
echo "press enter to close"; read' \;
|
||
|
else
|
||
|
./ci/builder --vm ./run_tests && ./ci/aarch64_builder --vm ./run_tests
|
||
|
fi
|