diff options
author | Edward Moulsdale <eddie.moulsdale@gmail.com> | 2024-03-01 07:17:59 +0000 |
---|---|---|
committer | Edward Moulsdale <eddie.moulsdale@gmail.com> | 2024-03-01 07:17:59 +0000 |
commit | e461496ecb89263d1df052b1876ad607b196b58d (patch) | |
tree | 73e2a19b271c2ad30ed40b57f79f005ae8efffdd /modules/mbedtls/SCsub | |
parent | 7d2ca2d8ac49cde9767e00b70f9eaf1920eb266d (diff) | |
download | redot-engine-e461496ecb89263d1df052b1876ad607b196b58d.tar.gz |
Add unit tests for CryptoKey
Diffstat (limited to 'modules/mbedtls/SCsub')
-rw-r--r-- | modules/mbedtls/SCsub | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/mbedtls/SCsub b/modules/mbedtls/SCsub index 7c1204d2b7..4b8f65d8ff 100644 --- a/modules/mbedtls/SCsub +++ b/modules/mbedtls/SCsub @@ -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. |