#pragma once // Unity macro to reduce memory usage (RAM, .bss) // // Unity supplied RUN_TEST captures the function name // using #func directly in the call to UnityDefaultTestRun. // This is a raw string that is placed in the data segment, // which consumes RAM. // // So instead, place the function name in flash memory and // load it at run time. #define RUN_TEST_P(func) \ { \ char funcName[64]; \ strcpy_P(funcName, PSTR(#func)); \ UnityDefaultTestRun(func, funcName, __LINE__); \ }