Peter Kolbus | e4e2d3a | 2018-12-24 09:04:54 -0600 | [diff] [blame] | 1 | #!/bin/bash -eu |
| 2 | |
| 3 | # all-in-docker.sh |
| 4 | # |
Peter Kolbus | e4e2d3a | 2018-12-24 09:04:54 -0600 | [diff] [blame] | 5 | # Purpose |
| 6 | # ------- |
| 7 | # This runs all.sh (except for armcc) in a Docker container. |
| 8 | # |
Manuel Pégourié-Gonnard | 59626b6 | 2022-12-15 10:08:26 +0100 | [diff] [blame] | 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 | # |
Peter Kolbus | e4e2d3a | 2018-12-24 09:04:54 -0600 | [diff] [blame] | 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 | |
Bence Szépkúti | 1e14827 | 2020-08-07 13:07:28 +0200 | [diff] [blame] | 19 | # Copyright The Mbed TLS Contributors |
Peter Kolbus | 4225b1a | 2019-05-31 06:38:06 -0500 | [diff] [blame] | 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. |
Peter Kolbus | 4225b1a | 2019-05-31 06:38:06 -0500 | [diff] [blame] | 33 | |
Peter Kolbus | e4e2d3a | 2018-12-24 09:04:54 -0600 | [diff] [blame] | 34 | source tests/scripts/docker_env.sh |
| 35 | |
| 36 | # Run tests that are possible with openly available compilers |
| 37 | run_in_docker tests/scripts/all.sh \ |
| 38 | --no-armcc \ |
| 39 | $@ |