unit test: add sd env and spi env for sdmmc

This commit is contained in:
houchenyao
2017-08-11 15:25:55 +08:00
parent 969f1bb9be
commit cf64c7e9a6
5 changed files with 29 additions and 7 deletions
@@ -107,7 +107,7 @@ static void unity_run_single_test_by_name(const char* filter)
tmp[strlen(filter) - 2] = 0;
for (const struct test_desc_t* test = s_unity_tests_first; test != NULL; test = test->next)
{
if (strstr(test->name, tmp) != NULL)
if (strcmp(test->name, tmp) == 0)
{
unity_run_single_test(test);
}