comparison data/fileio/test/AudioFileReaderTest.h @ 1714:83cb6e9d769b

Attempt to cope with the fact that Windows Server (for CI builds) lacks certain codecs
author Chris Cannam
date Fri, 17 May 2019 11:05:10 +0100
parents c1208b211d8c
children
comparison
equal deleted inserted replaced
1713:978c143c767f 1714:83cb6e9d769b
304 AudioFileReader *reader = 304 AudioFileReader *reader =
305 AudioFileReaderFactory::createReader 305 AudioFileReaderFactory::createReader
306 (audioDir + "/" + format + "/" + audiofile, params); 306 (audioDir + "/" + format + "/" + audiofile, params);
307 307
308 if (!reader) { 308 if (!reader) {
309 if (isLegitimatelyUnsupported(format)) { 309 if (UnsupportedFormat::isLegitimatelyUnsupported(format)) {
310 #if ( QT_VERSION >= 0x050000 ) 310 #if ( QT_VERSION >= 0x050000 )
311 QSKIP("Unsupported file, skipping"); 311 QSKIP("Unsupported file, skipping");
312 #else 312 #else
313 QSKIP("Unsupported file, skipping", SkipSingle); 313 QSKIP("Unsupported file, skipping", SkipSingle);
314 #endif 314 #endif