Add unit tests for CryptoKey

This commit is contained in:
Edward Moulsdale
2024-03-01 07:17:59 +00:00
parent 7d2ca2d8ac
commit e461496ecb
6 changed files with 139 additions and 0 deletions

View File

@ -121,6 +121,9 @@ if env["tests"]:
env_mbed_tls.Append(CPPDEFINES=["TESTS_ENABLED"])
env_mbed_tls.add_source_files(module_obj, "./tests/*.cpp")
if env["disable_exceptions"]:
env_mbed_tls.Append(CPPDEFINES=["DOCTEST_CONFIG_NO_EXCEPTIONS_BUT_WITH_ALL_ASSERTS"])
env.modules_sources += module_obj
# Needed to force rebuilding the module files when the thirdparty library is updated.