mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
cxx: re-enable cxx init_priority unit test for C3
This commit is contained in:
parent
a0eab085ad
commit
4af99be229
@ -185,12 +185,9 @@ PriorityInitTest g_static_init_priority_test2;
|
||||
PriorityInitTest g_static_init_priority_test1 __attribute__((init_priority(1000)));
|
||||
PriorityInitTest g_static_init_priority_test0 __attribute__((init_priority(999)));
|
||||
|
||||
#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32C3)
|
||||
// TODO ESP32C3 IDF-2206
|
||||
TEST_CASE("init_priority extension works", "[cxx]")
|
||||
{
|
||||
TEST_ASSERT_EQUAL(0, g_static_init_priority_test0.index);
|
||||
TEST_ASSERT_EQUAL(1, g_static_init_priority_test1.index);
|
||||
TEST_ASSERT_EQUAL(2, g_static_init_priority_test2.index);
|
||||
}
|
||||
#endif //!TEMPORARY_DISABLED_FOR_TARGETS(ESP32C3)
|
||||
|
Loading…
Reference in New Issue
Block a user