xref: /openbmc/qemu/tests/docker/test-unit (revision 3bae1504)
1*d984f24cSAlex Bennée#!/bin/bash -e
2*d984f24cSAlex Bennée#
3*d984f24cSAlex Bennée# Build and run the unit tests
4*d984f24cSAlex Bennée#
5*d984f24cSAlex Bennée# Copyright (c) 2018 Linaro Ltd.
6*d984f24cSAlex Bennée#
7*d984f24cSAlex Bennée# Authors:
8*d984f24cSAlex Bennée#  Alex Bennée <alex.bennee@linaro.org>
9*d984f24cSAlex Bennée#
10*d984f24cSAlex Bennée# This work is licensed under the terms of the GNU GPL, version 2
11*d984f24cSAlex Bennée# or (at your option) any later version. See the COPYING file in
12*d984f24cSAlex Bennée# the top-level directory.
13*d984f24cSAlex Bennée
14*d984f24cSAlex Bennée. common.rc
15*d984f24cSAlex Bennée
16*d984f24cSAlex Bennéecd "$BUILD_DIR"
17*d984f24cSAlex Bennée
18*d984f24cSAlex Bennée# although we are not building QEMU itself we still need a configured
19*d984f24cSAlex Bennée# build for the unit tests to be built and run
20*d984f24cSAlex Bennéeconfigure_qemu
21*d984f24cSAlex Bennéecheck_qemu check-unit
22