diff --git a/tests/suites/main_test.function b/tests/suites/main_test.function index 57e8c8305..9b2fa2b97 100644 --- a/tests/suites/main_test.function +++ b/tests/suites/main_test.function @@ -350,6 +350,7 @@ int main(int argc, const char *argv[]) { size_t unmet_dep_count = 0; char *unmet_dependencies[20]; /* only filled when verbose != 0 */ + int missing_unmet_dependencies = 0; test_filename = test_files[ testfile_index ]; @@ -371,6 +372,7 @@ int main(int argc, const char *argv[]) } unmet_dep_count = 0; memset( unmet_dependencies, 0, sizeof( unmet_dependencies ) ); + missing_unmet_dependencies = 0; if( ( ret = get_line( file, buf, sizeof(buf) ) ) != 0 ) break; @@ -409,6 +411,10 @@ int main(int argc, const char *argv[]) } unmet_dep_count++; } + else + { + missing_unmet_dependencies = 1; + } } } @@ -468,11 +474,14 @@ int main(int argc, const char *argv[]) unmet_dependencies[i]); free(unmet_dependencies[i]); } + if( missing_unmet_dependencies ) + mbedtls_fprintf( stdout, "..." ); } mbedtls_fprintf( stdout, "\n" ); fflush( stdout ); unmet_dep_count = 0; + missing_unmet_dependencies = 0; } else if( ret == DISPATCH_TEST_SUCCESS ) {