Mercurial > hg > vamp-plugin-tester
changeset 37:a835f9cf3a3d
"No plugins found" case should return error code
author | Chris Cannam |
---|---|
date | Sat, 26 Jul 2014 10:23:04 +0100 |
parents | 7d4c98c696a5 |
children | f930285dfe5a |
files | vamp-plugin-tester.cpp |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/vamp-plugin-tester.cpp Mon Jul 14 12:43:10 2014 +0100 +++ b/vamp-plugin-tester.cpp Sat Jul 26 10:23:04 2014 +0100 @@ -129,6 +129,7 @@ if (keys.size() == 0) { cout << name << ": NOTE: No plugins found!" << endl; cout << name << ": (No libraries in search path, or no descriptors in library)" << endl; + return 2; } int notes = 0, warnings = 0, errors = 0; for (int i = 0; i < (int)keys.size(); ++i) {