Mercurial > hg > svcore
diff data/fileio/test/svcore-data-fileio-test.cpp @ 1507:fe579dc6a713 import-audio-data
Merge from default branch
author | Chris Cannam |
---|---|
date | Tue, 04 Sep 2018 13:19:20 +0100 |
parents | 4700b7188f6c |
children | 64ef24ebb19c |
line wrap: on
line diff
--- a/data/fileio/test/svcore-data-fileio-test.cpp Fri Jun 29 13:52:36 2018 +0100 +++ b/data/fileio/test/svcore-data-fileio-test.cpp Tue Sep 04 13:19:20 2018 +0100 @@ -35,18 +35,17 @@ #endif if (argc > 1) { - SVCERR << "argc = " << argc << endl; testDir = argv[1]; } - if (testDir != "") { - SVCERR << "Setting test directory base path to \"" << testDir << "\"" << endl; - } - QCoreApplication app(argc, argv); app.setOrganizationName("sonic-visualiser"); app.setApplicationName("test-fileio"); + if (testDir != "") { + SVCERR << "Setting test directory base path to \"" << testDir << "\"" << endl; + } + { AudioFileReaderTest t(testDir); if (QTest::qExec(&t, argc, argv) == 0) ++good;