reduce number of unit test runs to get quicker more comprehensive coverage
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 27 Feb 2019 11:47:15 +0000 (11:47 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 27 Feb 2019 11:47:15 +0000 (11:47 +0000)
src/add/unit_test_single.py

index 609ff892eb6e3bddda20d7b40d2188054ba79ab2..c5e66c4d1b0f644535f3d004bf6310eea60436e7 100644 (file)
@@ -183,7 +183,7 @@ def run_cases(dut, count, op, fixed_num, num_entries):
 def run_edge_cases(dut, count, op):
     #edge cases
     for testme in corner_cases:
-        count = yield from run_cases(dut, count, op, testme, 1000)
+        count = yield from run_cases(dut, count, op, testme, 10)
 
     for i in range(100000):
         stimulus_a = [randint(0, 1<<32) for i in range(1000)]