aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/devtest/devtest_x3x0.py
diff options
context:
space:
mode:
authorAndrej Rode <andrej.rode@ettus.com>2016-11-21 11:06:58 -0800
committerMartin Braun <martin.braun@ettus.com>2016-12-01 12:44:41 -0800
commit7fc01d5fe3c8ecc71d1b8485e4999e721becf67c (patch)
tree68116b7b0703f25ef8c1ce99e01bfdb377656bfb /host/tests/devtest/devtest_x3x0.py
parentf583c77fc2dfb1308520164eb1c6260b0b0d8d79 (diff)
downloaduhd-7fc01d5fe3c8ecc71d1b8485e4999e721becf67c.tar.gz
uhd-7fc01d5fe3c8ecc71d1b8485e4999e721becf67c.tar.bz2
uhd-7fc01d5fe3c8ecc71d1b8485e4999e721becf67c.zip
devtest: dont check number of samples in benchmark rate test and accept
10 underruns in SISO
Diffstat (limited to 'host/tests/devtest/devtest_x3x0.py')
-rwxr-xr-xhost/tests/devtest/devtest_x3x0.py12
1 files changed, 10 insertions, 2 deletions
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,
},
}