blob: 627dfe57959e41aa67ffdae3e43421c8a22bf182 [file] [log] [blame]
Minos Galanakis6aab5b72024-07-25 14:24:37 +01001# components-configuration-x509.sh
2#
3# Copyright The Mbed TLS Contributors
4# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
5
Minos Galanakis609f7492024-07-31 16:39:28 +01006# This file contains test components that are executed by all.sh
Minos Galanakis6aab5b72024-07-25 14:24:37 +01007
8################################################################
9#### Configuration Testing - X509
10################################################################
11
Minos Galanakis09b179b2024-07-26 15:47:17 +010012component_test_no_x509_info () {
13 msg "build: full + MBEDTLS_X509_REMOVE_INFO" # ~ 10s
14 scripts/config.pl full
15 scripts/config.pl unset MBEDTLS_MEMORY_BACKTRACE # too slow for tests
16 scripts/config.pl set MBEDTLS_X509_REMOVE_INFO
17 make CFLAGS='-Werror -O2'
18
19 msg "test: full + MBEDTLS_X509_REMOVE_INFO" # ~ 10s
20 make test
21
22 msg "test: ssl-opt.sh, full + MBEDTLS_X509_REMOVE_INFO" # ~ 1 min
23 tests/ssl-opt.sh
24}
Minos Galanakis6aab5b72024-07-25 14:24:37 +010025