diff test/test_process.py @ 116:3489986a044c

Fixes for OS/X build
author Chris Cannam
date Wed, 17 Jun 2015 13:27:57 +0100
parents 9343eee50605
children b56c1052d111
line wrap: on
line diff
--- a/test/test_process.py	Wed Jun 17 13:03:37 2015 +0100
+++ b/test/test_process.py	Wed Jun 17 13:27:57 2015 +0100
@@ -200,6 +200,8 @@
         # half-way through the input buffer
         expected = i * (blocksize/2) + blocksize/2
         actual = results[i]["values"][0]
+        if actual == 2047 and expected == 2048:
+            print("This test fails because of a bug in the Vamp plugin SDK. Please update to SDK version 2.6.")
         assert actual == expected
 
 def test_process_multi_freq_timestamps():
@@ -211,6 +213,8 @@
         # half-way through the input buffer
         expected = i * (blocksize/2) + blocksize/2
         actual = results[i]["input-timestamp"]["values"][0]
+        if actual == 2047 and expected == 2048:
+            print("This test fails because of a bug in the Vamp plugin SDK. Please update to SDK version 2.6.")
         assert actual == expected
 
 def test_process_multiple_outputs():