summary refs log blame commit diff
path: root/docker/wrapped_smoke_test.sh
blob: 1ee296bdbf5a273ae71c7e238501f72d6ce89bcd (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                        
          


                  
#!/bin/bash
# Copyright 2019 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 -ex
cd "${0%/*}"

src_root="$(realpath ..)"

docker run \
    --rm \
    --privileged \
    -e TEST_RUNNER_FLAGS='--format terse' \
    -v /dev/log:/dev/log \
    -v "${src_root}":/platform/crosvm:ro \
    "$@" \
    crosvm-base \
    bin/smoke_test