[unit-test] remove (unnecessary) ENABLE_TEST_MAIN definition (#4367)

This commit is contained in:
Abtin Keshavarzian
2019-12-11 09:16:48 -08:00
committed by Jonathan Hui
parent ab27fcd9e6
commit f10c6c36fd
24 changed files with 0 additions and 51 deletions
-4
View File
@@ -82,7 +82,6 @@ void TestMaximumPassphrase(void)
testFreeInstance(instance);
}
#ifdef ENABLE_TEST_MAIN
int main(void)
{
TestMinimumPassphrase();
@@ -90,16 +89,13 @@ int main(void)
printf("All tests passed\n");
return 0;
}
#endif
#else // #if OPENTHREAD_CONFIG_COMMISSIONER_ENABLE
#ifdef ENABLE_TEST_MAIN
int main(void)
{
printf("Commissioenr role disabled\n");
return 0;
}
#endif
#endif // #if OPENTHREAD_CONFIG_COMMISSIONER_ENABLE