Merge pull request #3229 from gabor-mezei-arm/development

Fix spurious message about outcome file when running all.sh
This commit is contained in:
Gilles Peskine 2020-04-30 18:01:18 +02:00 committed by GitHub
commit dd2feead99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -551,7 +551,7 @@ int execute_tests( int argc , const char ** argv )
return( 1 ); return( 1 );
} }
if( outcome_file_name != NULL ) if( outcome_file_name != NULL && *outcome_file_name != '\0' )
{ {
outcome_file = fopen( outcome_file_name, "a" ); outcome_file = fopen( outcome_file_name, "a" );
if( outcome_file == NULL ) if( outcome_file == NULL )