22
33from parameterized import parameterized_class
44
5+ from ..lib .cpuifs import ALL_CPUIF
56from ..lib .sim_testcase import SimTestCase
67from ..lib .synth_testcase import SynthTestCase
7- from ..lib .test_params import get_permutations
8- from ..lib .cpuifs import ALL_CPUIF
9-
10-
8+ from ..lib .test_params import get_permutation_class_name , get_permutations
119
1210
1311@parameterized_class (get_permutations ({
1412 "cpuif" : ALL_CPUIF ,
1513 "retime_read_fanin" : [True , False ],
1614 "retime_read_response" : [True , False ],
17- }))
15+ }), class_name_func = get_permutation_class_name )
1816class TestCPUIFS (SimTestCase ):
1917 def test_dut (self ):
2018 self .run_test ()
2119
2220
23-
2421@parameterized_class (get_permutations ({
2522 "reuse_hwif_typedefs" : [True , False ],
26- }))
23+ }), class_name_func = get_permutation_class_name )
2724class TestTypedefs (SimTestCase ):
2825 def test_dut (self ):
2926 self .run_test ()
@@ -33,7 +30,7 @@ def test_dut(self):
3330@parameterized_class (get_permutations ({
3431 "default_reset_activelow" : [True , False ],
3532 "default_reset_async" : [True , False ],
36- }))
33+ }), class_name_func = get_permutation_class_name )
3734class TestDefaultResets (SimTestCase ):
3835 def test_dut (self ):
3936 self .run_test ()
@@ -45,7 +42,7 @@ def test_dut(self):
4542 "retime_read_fanin" : [True , False ],
4643 "retime_read_response" : [True , False ],
4744 "reuse_hwif_typedefs" : [True , False ],
48- }))
45+ }), class_name_func = get_permutation_class_name )
4946class TestSynth (SynthTestCase ):
5047 def test_dut (self ):
5148 self .run_synth ()
0 commit comments