| 1 | #!/bin/bash -e |
| 2 | # |
| 3 | # Build and run the TCG tests |
| 4 | # |
| 5 | # Copyright (c) 2021 Linaro Ltd. |
| 6 | # |
| 7 | # Authors: |
| 8 | # Alex Bennée <alex.bennee@linaro.org> |
| 9 | # |
| 10 | # This work is licensed under the terms of the GNU GPL, version 2 |
| 11 | # or (at your option) any later version. See the COPYING file in |
| 12 | # the top-level directory. |
| 13 | |
| 14 | . common.rc |
| 15 | |
| 16 | cd "$BUILD_DIR" |
| 17 | |
| 18 | # although we are not building QEMU itself we still need a configured |
| 19 | # build for the unit tests to be built and run |
| 20 | TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \ |
| 21 | build_qemu |
| 22 | check_qemu check-tcg |