From 7fc01d5fe3c8ecc71d1b8485e4999e721becf67c Mon Sep 17 00:00:00 2001 From: Andrej Rode Date: Mon, 21 Nov 2016 11:06:58 -0800 Subject: devtest: dont check number of samples in benchmark rate test and accept 10 underruns in SISO --- host/tests/devtest/devtest_x3x0.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'host/tests/devtest/devtest_x3x0.py') diff --git a/host/tests/devtest/devtest_x3x0.py b/host/tests/devtest/devtest_x3x0.py index 7ad6b21b6..dd62d8910 100755 --- a/host/tests/devtest/devtest_x3x0.py +++ b/host/tests/devtest/devtest_x3x0.py @@ -26,6 +26,8 @@ uhd_benchmark_rate_test.tests = { 'chan': '0,1', 'rate': 1e6, 'acceptable-underruns': 500, + 'tx_buffer': (0.1*1e6)+32e6*8*1/32, # 32 MB DRAM for each channel (32 bit OTW format), + 'rx_buffer': 0.1*1e6, }, 'mimo_fast': { 'duration': 1, @@ -33,20 +35,26 @@ uhd_benchmark_rate_test.tests = { 'chan': '0,1', 'rate': 12.5e6, 'acceptable-underruns': 500, + 'tx_buffer': (0.1*12.5e6)+32e6*8*1/32, # 32 MB DRAM for each channel (32 bit OTW format), + 'rx_buffer': 0.1*12.5e6, }, 'siso_chan0_slow': { 'duration': 1, 'direction': 'tx,rx', 'chan': '0', 'rate': 1e6, - 'acceptable-underruns': 0, + 'acceptable-underruns': 10, + 'tx_buffer': (0.1*1e6)+32e6*8*1/32, # 32 MB DRAM for each channel (32 bit OTW format), + 'rx_buffer': 0.1*1e6, }, 'siso_chan1_slow': { 'duration': 1, 'direction': 'tx,rx', 'chan': '1', 'rate': 1e6, - 'acceptable-underruns': 0, + 'acceptable-underruns': 10, + 'tx_buffer': (0.1*1e6)+32e6*8*1/32, # 32 MB DRAM for each channel (32 bit OTW format), + 'rx_buffer': 0.1*1e6, }, } -- cgit v1.2.3