1#!/bin/bash -eu
2
3# all-in-docker.sh
4#
5# Purpose
6# -------
7# This runs all.sh (except for armcc) in a Docker container.
8#
9# WARNING: the Dockerfile used by this script is no longer maintained! See
10# https://github.com/Mbed-TLS/mbedtls-test/blob/master/README.md#quick-start
11# for the set of Docker images we use on the CI.
12#
13# Notes for users
14# ---------------
15# See docker_env.sh for prerequisites and other information.
16#
17# See also all.sh for notes about invocation of that script.
18
19# Copyright The Mbed TLS Contributors
20# SPDX-License-Identifier: Apache-2.0
21#
22# Licensed under the Apache License, Version 2.0 (the "License"); you may
23# not use this file except in compliance with the License.
24# You may obtain a copy of the License at
25#
26#  http://www.apache.org/licenses/LICENSE-2.0
27#
28# Unless required by applicable law or agreed to in writing, software
29# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
30# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31# See the License for the specific language governing permissions and
32# limitations under the License.
33
34source tests/scripts/docker_env.sh
35
36# Run tests that are possible with openly available compilers
37run_in_docker tests/scripts/all.sh \
38    --no-armcc \
39    $@
40