blob: 7c03d9135a04fdef5e7cfeeb8769ff42737d9cf7 [file] [log] [blame]
Peter Kolbuse4e2d3a2018-12-24 09:04:54 -06001#!/bin/bash -eu
2
3# all-in-docker.sh
4#
Peter Kolbuse4e2d3a2018-12-24 09:04:54 -06005# Purpose
6# -------
7# This runs all.sh (except for armcc) in a Docker container.
8#
Manuel Pégourié-Gonnard59626b62022-12-15 10:08:26 +01009# 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#
Peter Kolbuse4e2d3a2018-12-24 09:04:54 -060013# 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
Bence Szépkúti1e148272020-08-07 13:07:28 +020019# Copyright The Mbed TLS Contributors
Peter Kolbus4225b1a2019-05-31 06:38:06 -050020# 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.
Peter Kolbus4225b1a2019-05-31 06:38:06 -050033
Peter Kolbuse4e2d3a2018-12-24 09:04:54 -060034source 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 $@