changeset 381:ff6f59832f15

More informative output when Vamp test plugin is not found
author Chris Cannam
date Fri, 13 Sep 2013 14:59:27 +0100
parents c87614a102b1
children a519d3b7e32c b33dfd0602de
files may/vamp/test/test_vamp.yeti
diffstat 1 files changed, 11 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/may/vamp/test/test_vamp.yeti	Fri Sep 06 13:36:29 2013 +0100
+++ b/may/vamp/test/test_vamp.yeti	Fri Sep 13 14:59:27 2013 +0100
@@ -132,10 +132,17 @@
     tests
 else
     eprintln
-"** The test plugin is not installed, or the Vamp module is totally broken.
-   Ensure vamp-test-plugin is in the Vamp path or set $VAMP_PATH to point to it.
-   (The path is currently \(v.pluginPath).)
-   All Vamp plugin tests will fail until this is fixed.";
+"** Vamp test plugin not found!
+   Either the Vamp module is not working, or the test plugin is not installed.
+   Please ensure vamp-test-plugin.{so,dll,dylib} is in the path,
+   or set $VAMP_PATH to point to its location.
+
+   Current path: \(v.pluginPath)
+   Required plugin key: \"\(testPluginKey)\"
+   Plugin keys found: \(v.pluginKeys)
+
+   All of the Vamp plugin tests will fail until this is fixed.
+";
     mapIntoHash id \\false (keys tests)
 fi is hash<string, () -> boolean>;