add(esp_modem): Add unit test to check polymorphic delete

This commit is contained in:
David Cermak
2022-02-23 11:00:05 +01:00
parent 4ccc32ffb5
commit e54b240870
2 changed files with 17 additions and 2 deletions

View File

@@ -12,4 +12,4 @@ project(host_modem_test)
idf_component_get_property(esp_modem esp_modem COMPONENT_LIB)
target_compile_definitions(${esp_modem} PRIVATE "-DCONFIG_COMPILER_CXX_EXCEPTIONS")
target_compile_definitions(${esp_modem} PRIVATE "-DCONFIG_IDF_TARGET_LINUX")
target_link_options(${esp_modem} INTERFACE -fsanitize=address)
target_link_options(${esp_modem} INTERFACE -fsanitize=address -fsanitize=undefined)