Skip to content

Commit ab38de7

Browse files
component-configuration-crypto: Migrated test_tfm_config_no_p256m to cmake
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
1 parent 7631a9c commit ab38de7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/scripts/components-configuration-crypto.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1323,8 +1323,8 @@ component_test_tfm_config_no_p256m () {
13231323
scripts/config.py -f "$CRYPTO_CONFIG_H" unset MBEDTLS_PSA_P256M_DRIVER_ENABLED
13241324

13251325
msg "build: TF-M config without p256m"
1326-
$MAKE_COMMAND CFLAGS='-Werror -Wall -Wextra -I../framework/tests/include/spe' tests
1327-
1326+
CFLAGS="-I$PWD/framework/tests/include/spe" cmake -D CMAKE_BUILD_TYPE:String=Release .
1327+
cmake --build .
13281328
# Check that p256m was not built
13291329
not grep p256_ecdsa_ library/libmbedcrypto.a
13301330

@@ -1333,7 +1333,7 @@ component_test_tfm_config_no_p256m () {
13331333
not grep mbedtls_cipher ${BUILTIN_SRC_PATH}/cipher.o
13341334

13351335
msg "test: TF-M config without p256m"
1336-
$MAKE_COMMAND test
1336+
make test
13371337
}
13381338

13391339
# This is an helper used by:

0 commit comments

Comments
 (0)