xref: /aosp_15_r20/external/crosvm/tools/contrib/minimal_containers/test-all.sh (revision bb4ee6a4ae7042d18b07a98463b9c8b875e44b39)
1# Copyright 2023 The ChromiumOS Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5# Tests if crosvm can be built and unit tests run for all containers defined in this directory.
6
7set -e
8
9cd $(dirname $0)
10
11./run.sh Dockerfile.debian cargo build --workspace --features=all-x86_64
12./run.sh Dockerfile.ubuntu cargo build --workspace --features=all-x86_64
13