tests/misc_test.c : Only run Ogg test if HAVE_EXTERNAL_LIBS is true.

This commit is contained in:
Erik de Castro Lopo 2008-07-31 08:40:49 +10:00
parent 65689d4169
commit 1476a4bc5a

View File

@ -215,6 +215,15 @@ zero_data_test (const char *filename, int format)
SF_INFO sfinfo ;
int frames ;
switch (format & SF_FORMAT_TYPEMASK)
{ case SF_FORMAT_OGG :
if (HAVE_EXTERNAL_LIBS == 0)
return ;
break ;
default :
break ;
} ;
print_test_name ("zero_data_test", filename) ;
sfinfo.samplerate = 44100 ;