Manuel Pégourié-Gonnard | 8bcad48 | 2024-10-23 10:41:15 +0200 | [diff] [blame] | 1 | #! /usr/bin/env bash |
| 2 | |
| 3 | # all.sh |
| 4 | # |
| 5 | # Copyright The Mbed TLS Contributors |
| 6 | # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later |
| 7 | |
| 8 | # This file is executable; it is the entry point for users and the CI. |
| 9 | # See "Files structure" in all-core.sh for other files used. |
| 10 | |
| 11 | # This script must be invoked from the project's root. |
| 12 | |
Manuel Pégourié-Gonnard | a4f0227 | 2024-10-24 10:05:36 +0200 | [diff] [blame] | 13 | # Prevent silly mistakes when people would invoke this from mbedtls |
| 14 | if [ -d tf-psa-crypto -a -d library ]; then |
| 15 | echo "When invoking this script from an mbedtls checkout," >&2 |
| 16 | echo "you must change the working directory to tf-psa-crypto." >&2 |
| 17 | exit 255 |
| 18 | fi |
| 19 | |
Manuel Pégourié-Gonnard | 8bcad48 | 2024-10-23 10:41:15 +0200 | [diff] [blame] | 20 | # The path is going to change when this is moved to the framework |
| 21 | source ../tests/scripts/all-core.sh |
| 22 | |
| 23 | main "$@" |