xref: /aosp_15_r20/external/mbedtls/tests/scripts/all-in-docker.sh (revision 62c56f9862f102b96d72393aff6076c951fb8148)
1*62c56f98SSadaf Ebrahimi#!/bin/bash -eu
2*62c56f98SSadaf Ebrahimi
3*62c56f98SSadaf Ebrahimi# all-in-docker.sh
4*62c56f98SSadaf Ebrahimi#
5*62c56f98SSadaf Ebrahimi# Purpose
6*62c56f98SSadaf Ebrahimi# -------
7*62c56f98SSadaf Ebrahimi# This runs all.sh (except for armcc) in a Docker container.
8*62c56f98SSadaf Ebrahimi#
9*62c56f98SSadaf Ebrahimi# WARNING: the Dockerfile used by this script is no longer maintained! See
10*62c56f98SSadaf Ebrahimi# https://github.com/Mbed-TLS/mbedtls-test/blob/master/README.md#quick-start
11*62c56f98SSadaf Ebrahimi# for the set of Docker images we use on the CI.
12*62c56f98SSadaf Ebrahimi#
13*62c56f98SSadaf Ebrahimi# Notes for users
14*62c56f98SSadaf Ebrahimi# ---------------
15*62c56f98SSadaf Ebrahimi# See docker_env.sh for prerequisites and other information.
16*62c56f98SSadaf Ebrahimi#
17*62c56f98SSadaf Ebrahimi# See also all.sh for notes about invocation of that script.
18*62c56f98SSadaf Ebrahimi
19*62c56f98SSadaf Ebrahimi# Copyright The Mbed TLS Contributors
20*62c56f98SSadaf Ebrahimi# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
21*62c56f98SSadaf Ebrahimi
22*62c56f98SSadaf Ebrahimisource tests/scripts/docker_env.sh
23*62c56f98SSadaf Ebrahimi
24*62c56f98SSadaf Ebrahimi# Run tests that are possible with openly available compilers
25*62c56f98SSadaf Ebrahimirun_in_docker tests/scripts/all.sh \
26*62c56f98SSadaf Ebrahimi    --no-armcc \
27*62c56f98SSadaf Ebrahimi    $@
28