mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 18:15:35 +00:00
Fox verbose test framework not to duplicate strings if not verbose
This commit is contained in:
parent
a30a72f80f
commit
26b60bf7d1
|
@ -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