summaryrefslogtreecommitdiffstats
path: root/modules/mbedtls/SCsub
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-03-01 17:22:12 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-03-01 17:22:12 +0100
commit0e0f564cea6aef2bb9aa40dd34f670c732a42f9f (patch)
tree1ce42f6b2d078275a5f9151c8cf34aa6ead48150 /modules/mbedtls/SCsub
parent8c0511a69b49cfb584a773db7af404ed15de36ca (diff)
parente461496ecb89263d1df052b1876ad607b196b58d (diff)
downloadredot-engine-0e0f564cea6aef2bb9aa40dd34f670c732a42f9f.tar.gz
Merge pull request #89021 from wheatear-dev/test-crypto-key
Add unit tests for CryptoKey
Diffstat (limited to 'modules/mbedtls/SCsub')
-rw-r--r--modules/mbedtls/SCsub3
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.