all-in-docker.sh 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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. # Notes for users
  9. # ---------------
  10. # See docker_env.sh for prerequisites and other information.
  11. #
  12. # See also all.sh for notes about invocation of that script.
  13. # Copyright The Mbed TLS Contributors
  14. # SPDX-License-Identifier: Apache-2.0
  15. #
  16. # Licensed under the Apache License, Version 2.0 (the "License"); you may
  17. # not use this file except in compliance with the License.
  18. # You may obtain a copy of the License at
  19. #
  20. # http://www.apache.org/licenses/LICENSE-2.0
  21. #
  22. # Unless required by applicable law or agreed to in writing, software
  23. # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  24. # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  25. # See the License for the specific language governing permissions and
  26. # limitations under the License.
  27. source tests/scripts/docker_env.sh
  28. # Run tests that are possible with openly available compilers
  29. run_in_docker tests/scripts/all.sh \
  30. --no-armcc \
  31. $@