mirror of
https://github.com/espressif/openthread.git
synced 2026-08-16 07:37:47 +00:00
[unit-test] remove (unnecessary) ENABLE_TEST_MAIN definition (#4367)
This commit is contained in:
committed by
Jonathan Hui
parent
ab27fcd9e6
commit
f10c6c36fd
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user