ci(sdmmc): clean up stdout to avoid false positive memory leaks

This commit is contained in:
Ivan Grokhotkov 2024-04-05 17:48:37 +02:00
parent 8a66e059e9
commit ad51d0d1ca
No known key found for this signature in database
GPG Key ID: 1E050E141B280628

View File

@ -13,11 +13,13 @@
void setUp(void)
{
printf("%s", ""); /* sneakily lazy-allocate the reent structure for this test task */
unity_utils_record_free_mem();
}
void tearDown(void)
{
esp_reent_cleanup();
unity_utils_evaluate_leaks_direct(TEST_MEMORY_LEAK_THRESHOLD);
}