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

pull/13557/merge
Ivan Grokhotkov 2024-04-05 17:48:37 +02:00
rodzic 8a66e059e9
commit ad51d0d1ca
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 1E050E141B280628
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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);
}