File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -2231,8 +2231,10 @@ helper_block_cipher_no_decrypt_build_test () {
22312231 [ -n " $unset_opts " ] && echo " Disabling: $unset_opts " && scripts/config.py unset-all $unset_opts
22322232
22332233 msg " build: default config + BLOCK_CIPHER_NO_DECRYPT${set_opts: + + $set_opts }${unset_opts: + - $unset_opts } with $cflags ${ldflags: +, $ldflags } "
2234- $MAKE_COMMAND clean
2235- $MAKE_COMMAND CFLAGS=" -O2 $cflags " LDFLAGS=" $ldflags "
2234+
2235+ make -f ./scripts/legacy.make clean
2236+ CFLAGS=" -O2 $cflags " LDFLAGS=" $ldflags " cmake -D CMAKE_BUILD_TYPE:String=None .
2237+ cmake --build .
22362238
22372239 # Make sure we don't have mbedtls_xxx_setkey_dec in AES/ARIA/CAMELLIA
22382240 not grep mbedtls_aes_setkey_dec ${BUILTIN_SRC_PATH} /aes.o
@@ -2244,7 +2246,7 @@ helper_block_cipher_no_decrypt_build_test () {
22442246 not grep mbedtls_aesni_inverse_key ${BUILTIN_SRC_PATH} /aesni.o
22452247
22462248 msg " test: default config + BLOCK_CIPHER_NO_DECRYPT${set_opts: + + $set_opts }${unset_opts: + - $unset_opts } with $cflags ${ldflags: +, $ldflags } "
2247- $MAKE_COMMAND test
2249+ make test
22482250
22492251 msg " selftest: default config + BLOCK_CIPHER_NO_DECRYPT${set_opts: + + $set_opts }${unset_opts: + - $unset_opts } with $cflags ${ldflags: +, $ldflags } "
22502252 programs/test/selftest
You can’t perform that action at this time.
0 commit comments