all-in-docker.sh 1.2 KB

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