Skip to content

Commit 8a782ea

Browse files
Align test_tfm_config_no_p256m with its reference
component_test_tfm_config_no_p256m was not building sample programs, but component_test_tfm_config_p256m_driver_accel_ec was. This is now flagged as a discrepancy by outcome analysis. Signed-off-by: Gilles Peskine <[email protected]>
1 parent ee358ce commit 8a782ea

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/scripts/components-configuration-crypto.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1448,7 +1448,6 @@ component_test_tfm_config_p256m_driver_accel_ec () {
14481448

14491449
common_tfm_config
14501450

1451-
# Build crypto library
14521451
make CC=$ASAN_CC CFLAGS="$ASAN_CFLAGS -I../tests/include/spe" LDFLAGS="$ASAN_CFLAGS"
14531452

14541453
# Make sure any built-in EC alg was not re-enabled by accident (additive config)
@@ -1483,7 +1482,7 @@ component_test_tfm_config_no_p256m () {
14831482
echo "#undef MBEDTLS_PSA_P256M_DRIVER_ENABLED" >> "$CONFIG_H"
14841483

14851484
msg "build: TF-M config without p256m"
1486-
make CFLAGS='-Werror -Wall -Wextra -I../tests/include/spe' tests
1485+
make CFLAGS='-Werror -Wall -Wextra -I../tests/include/spe'
14871486

14881487
# Check that p256m was not built
14891488
not grep p256_ecdsa_ library/libmbedcrypto.a

0 commit comments

Comments
 (0)