mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-25 19:36:52 +00:00
Fox verbose test framework not to duplicate strings if not verbose
This commit is contained in:
parent
6e51915187
commit
2a259c63e3
1 changed files with 7 additions and 0 deletions
|
@ -357,6 +357,13 @@ int main(int argc, const char *argv[])
|
||||||
{
|
{
|
||||||
if( dep_check( params[i] ) != DEPENDENCY_SUPPORTED )
|
if( dep_check( params[i] ) != DEPENDENCY_SUPPORTED )
|
||||||
{
|
{
|
||||||
|
if( 0 == option_verbose )
|
||||||
|
{
|
||||||
|
/* Only one count is needed if not verbose */
|
||||||
|
unmet_dep_count++;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
unmet_dependencies[ unmet_dep_count ] = strdup(params[i]);
|
unmet_dependencies[ unmet_dep_count ] = strdup(params[i]);
|
||||||
if( unmet_dependencies[ unmet_dep_count ] == NULL )
|
if( unmet_dependencies[ unmet_dep_count ] == NULL )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue