mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 05:34:32 +02:00
Merge branch 'feature/exception_emergency_pool_test_ci' into 'master'
[cxx]: Activate emergency exception memory pool test in CI Closes IDF-1610 See merge request espressif/esp-idf!14143
This commit is contained in:
@@ -211,7 +211,7 @@ TEST_CASE("c++ std::exception child", "[cxx] [exceptions] [leaks=" LEAKS "]")
|
|||||||
printf("OK?\n");
|
printf("OK?\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE("c++ exceptions emergency pool", "[cxx] [exceptions] [ignore] [leaks=" LEAKS "]")
|
TEST_CASE("c++ exceptions emergency pool", "[cxx] [exceptions] [leaks=" LEAKS "]")
|
||||||
{
|
{
|
||||||
void **p, **pprev = NULL;
|
void **p, **pprev = NULL;
|
||||||
int thrown_value = 0;
|
int thrown_value = 0;
|
||||||
@@ -241,7 +241,6 @@ TEST_CASE("c++ exceptions emergency pool", "[cxx] [exceptions] [ignore] [leaks="
|
|||||||
catch (int e)
|
catch (int e)
|
||||||
{
|
{
|
||||||
thrown_value = e;
|
thrown_value = e;
|
||||||
printf("Got exception %d\n", thrown_value);
|
|
||||||
}
|
}
|
||||||
#if CONFIG_COMPILER_CXX_EXCEPTIONS_EMG_POOL_SIZE > 0
|
#if CONFIG_COMPILER_CXX_EXCEPTIONS_EMG_POOL_SIZE > 0
|
||||||
// free all memory
|
// free all memory
|
||||||
|
@@ -2,3 +2,4 @@
|
|||||||
CONFIG_IDF_TARGET="esp32"
|
CONFIG_IDF_TARGET="esp32"
|
||||||
TEST_COMPONENTS=cxx
|
TEST_COMPONENTS=cxx
|
||||||
CONFIG_COMPILER_CXX_EXCEPTIONS=y
|
CONFIG_COMPILER_CXX_EXCEPTIONS=y
|
||||||
|
CONFIG_COMPILER_CXX_EXCEPTIONS_EMG_POOL_SIZE=1024
|
||||||
|
@@ -2,3 +2,4 @@
|
|||||||
CONFIG_IDF_TARGET="esp32c3"
|
CONFIG_IDF_TARGET="esp32c3"
|
||||||
TEST_COMPONENTS=cxx
|
TEST_COMPONENTS=cxx
|
||||||
CONFIG_COMPILER_CXX_EXCEPTIONS=y
|
CONFIG_COMPILER_CXX_EXCEPTIONS=y
|
||||||
|
CONFIG_COMPILER_CXX_EXCEPTIONS_EMG_POOL_SIZE=1024
|
||||||
|
@@ -2,4 +2,5 @@
|
|||||||
CONFIG_IDF_TARGET="esp32"
|
CONFIG_IDF_TARGET="esp32"
|
||||||
TEST_COMPONENTS=cxx
|
TEST_COMPONENTS=cxx
|
||||||
CONFIG_COMPILER_CXX_EXCEPTIONS=y
|
CONFIG_COMPILER_CXX_EXCEPTIONS=y
|
||||||
|
CONFIG_COMPILER_CXX_EXCEPTIONS_EMG_POOL_SIZE=1024
|
||||||
CONFIG_COMPILER_CXX_RTTI=y
|
CONFIG_COMPILER_CXX_RTTI=y
|
||||||
|
@@ -2,4 +2,5 @@
|
|||||||
CONFIG_IDF_TARGET="esp32c3"
|
CONFIG_IDF_TARGET="esp32c3"
|
||||||
TEST_COMPONENTS=cxx
|
TEST_COMPONENTS=cxx
|
||||||
CONFIG_COMPILER_CXX_EXCEPTIONS=y
|
CONFIG_COMPILER_CXX_EXCEPTIONS=y
|
||||||
|
CONFIG_COMPILER_CXX_EXCEPTIONS_EMG_POOL_SIZE=1024
|
||||||
CONFIG_COMPILER_CXX_RTTI=y
|
CONFIG_COMPILER_CXX_RTTI=y
|
||||||
|
Reference in New Issue
Block a user