From: Luke Kenneth Casson Leighton Date: Wed, 27 Feb 2019 12:10:31 +0000 (+0000) Subject: reduce random case test numbers as well X-Git-Tag: ls180-24jan2020~1819 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0018a3337ee4582ab3eabeb57bee79bf067f4a7;p=ieee754fpu.git reduce random case test numbers as well --- diff --git a/src/add/unit_test_single.py b/src/add/unit_test_single.py index c5e66c4d..3dba32ee 100644 --- a/src/add/unit_test_single.py +++ b/src/add/unit_test_single.py @@ -186,7 +186,7 @@ def run_edge_cases(dut, count, op): 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)] - count = yield from run_cases(dut, count, op, stimulus_a, 1000) + stimulus_a = [randint(0, 1<<32) for i in range(10)] + count = yield from run_cases(dut, count, op, stimulus_a, 10) return count