Mercurial > hg > sonic-annotator
comparison runner/main.cpp @ 233:9a10c3ffff47
Update summary code and tests -- fix multiple outputs when requesting both summary and non-summary for the same output; and values have been changed because of the coded file cache bit depth change. Also skip network-dependent tests if there is no network.
author | Chris Cannam |
---|---|
date | Thu, 25 Feb 2016 18:19:27 +0000 |
parents | 3b7ec45abd1c |
children | 7c4f7cd065a0 |
comparison
equal
deleted
inserted
replaced
232:e2519bd033e7 | 233:9a10c3ffff47 |
---|---|
855 manager.setNormalise(normalise); | 855 manager.setNormalise(normalise); |
856 | 856 |
857 if (!requestedSummaryTypes.empty()) { | 857 if (!requestedSummaryTypes.empty()) { |
858 if (!manager.setSummaryTypes(requestedSummaryTypes, | 858 if (!manager.setSummaryTypes(requestedSummaryTypes, |
859 boundaries)) { | 859 boundaries)) { |
860 cerr << myname | 860 cerr << myname << ": failed to set requested summary types" << endl; |
861 << ": failed to set requested summary types" << endl; | |
862 exit(1); | 861 exit(1); |
863 } | 862 } |
864 } | 863 } |
865 | 864 |
866 manager.setSummariesOnly(summaryOnly); | 865 manager.setSummariesOnly(summaryOnly); |