Skip to content

Commit 3e85517

Browse files
component-configuration-crypto: Migrated block_cipher_no_decrypt_build_test to cmake
Signed-off-by: Minos Galanakis <[email protected]>
1 parent ab38de7 commit 3e85517

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/scripts/components-configuration-crypto.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2225,8 +2225,9 @@ helper_block_cipher_no_decrypt_build_test () {
22252225
[ -n "$unset_opts" ] && echo "Disabling: $unset_opts" && scripts/config.py unset-all $unset_opts
22262226

22272227
msg "build: default config + BLOCK_CIPHER_NO_DECRYPT${set_opts:+ + $set_opts}${unset_opts:+ - $unset_opts} with $cflags${ldflags:+, $ldflags}"
2228-
$MAKE_COMMAND clean
2229-
$MAKE_COMMAND CFLAGS="-O2 $cflags" LDFLAGS="$ldflags"
2228+
2229+
make clean
2230+
CFLAGS="-O2 $cflags" LDFLAGS="$ldflags" cmake -D CMAKE_BUILD_TYPE:String=None .
22302231

22312232
# Make sure we don't have mbedtls_xxx_setkey_dec in AES/ARIA/CAMELLIA
22322233
not grep mbedtls_aes_setkey_dec ${BUILTIN_SRC_PATH}/aes.o
@@ -2238,7 +2239,7 @@ helper_block_cipher_no_decrypt_build_test () {
22382239
not grep mbedtls_aesni_inverse_key ${BUILTIN_SRC_PATH}/aesni.o
22392240

22402241
msg "test: default config + BLOCK_CIPHER_NO_DECRYPT${set_opts:+ + $set_opts}${unset_opts:+ - $unset_opts} with $cflags${ldflags:+, $ldflags}"
2241-
$MAKE_COMMAND test
2242+
make test
22422243

22432244
msg "selftest: default config + BLOCK_CIPHER_NO_DECRYPT${set_opts:+ + $set_opts}${unset_opts:+ - $unset_opts} with $cflags${ldflags:+, $ldflags}"
22442245
programs/test/selftest

0 commit comments

Comments
 (0)