mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 01:49:53 +00:00
tests/cpp_test.cc: improve error reporting in check_title
The test somehow briefly failed for me. This will help debug if it happens again.
This commit is contained in:
parent
e2c38cd5c4
commit
0a52a40111
@ -106,7 +106,7 @@ check_title (const SndfileHandle & file, const char * filename)
|
||||
title = file.getString (SF_STR_TITLE) ;
|
||||
|
||||
if (title == NULL)
|
||||
{ printf ("\n\n%s %d : Error : No title.\n\n", __func__, __LINE__) ;
|
||||
{ printf ("\n\n%s %d : Error : No title for %s.\n\n", __func__, __LINE__, filename) ;
|
||||
exit (1) ;
|
||||
} ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user