]> git.parisson.com Git - timeside.git/commitdiff
Test: skip test for some broken Diadems processors
authorThomas Fillon <thomas@parisson.com>
Sat, 10 Jan 2015 08:55:12 +0000 (09:55 +0100)
committerThomas Fillon <thomas@parisson.com>
Sat, 10 Jan 2015 08:55:12 +0000 (09:55 +0100)
tests/test_analyzers_default.py
tests/test_analyzers_stress.py

index 3b07709ccedb9f9475253035268cc82732247b72..9a462aeae3581f6c05f3004b70af124ccb457228 100755 (executable)
@@ -1,15 +1,15 @@
 #! /usr/bin/env python
 
 # Author : Thomas Fillon <thomas@parisson.com>
-
-
 from unit_timeside import unittest, TestRunner
-import timeside
-from timeside.plugins.decoder.file import FileDecoder
 import numpy as np
+
+import timeside.core
+from timeside.plugins.decoder.file import FileDecoder
 from timeside.tools.test_samples import samples
 
 
+
 class TestAnalyzers_with_default(unittest.TestCase):
     """Test analyzer with default parameters"""
 
@@ -56,6 +56,14 @@ def _tests_factory(test_class, test_doc, list_analyzers, skip_reasons={}):
 
 # Define test to skip and corresponding reasons
 skip_reasons = {}
+# Define test to skip and corresponding reasons
+skip_reasons = {'IRITDiverg': 'IRIT_Diverg has to be fixed',
+                'IRITMusicSLN': 'IRITMusicSLN has to be fixed',
+                'IRITMusicSNB': 'IRITMusicSNB has to be fixed',
+                'IRITSingings': 'IRITSingings has to be fixed',
+                'LABRIInstru': 'LABRIInstru has to be fixed',
+                'LABRIMultipitch': 'LABRIMultipitch has to be fixed'
+               }
 
 # For each analyzer in TimeSide, test with constant input
 _tests_factory(test_class=TestAnalyzers_with_default,
index 6ae46afdad1bf5e8250d45410dc4e511c1f2f595..85e71b5f3e6dabf5340639962a520af674692250 100755 (executable)
@@ -64,10 +64,13 @@ def _tests_factory(test_class, test_doc, list_analyzers, skip_reasons={}):
             setattr(test_class, test_func_name,
                     unittest.skip(skip_reasons[analyzer.__name__])(test_func))
 
-
 # Define test to skip and corresponding reasons
 skip_reasons = {'VampSimpleHost': ('VampSimpleHost bypasses the decoder '
-                                   'and requires a file input')}
+                                   'and requires a file input'),
+                'IRITDiverg': 'IRIT_Diverg fails the stress test',
+                'IRITMusicSLN': 'IRITMusicSLN fails the stress test',
+                'IRITMusicSNB': 'IRITMusicSNB fails the stress test'}
+
 
 # For each analyzer in TimeSide, test with constant input
 _tests_factory(test_class=TestAnalyzers_withDC,