mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 02:37:19 +02:00
unit-test-app: use '-' to show test history
This commit is contained in:
@ -342,6 +342,12 @@ void unity_run_menu()
|
|||||||
print_test_menu();
|
print_test_menu();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/*use '-' to show test history. Need to do it before UNITY_BEGIN cleanup history */
|
||||||
|
if (cmdline[0] == '-')
|
||||||
|
{
|
||||||
|
UNITY_END();
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
UNITY_BEGIN();
|
UNITY_BEGIN();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user