aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-08-21 09:56:49 -0700
committerBrent Stapleton <bstapleton@g.hmc.edu>2018-08-22 18:37:12 -0700
commit2b15ecde2b2810bdb64c2244db9de3133f1763b0 (patch)
tree01cd00f2d8c7dba59a41b9ce9f87b5cd5280bd58 /host/tests
parent9c7d251b32eb476e11f8fce13a797c4de9abc796 (diff)
downloaduhd-2b15ecde2b2810bdb64c2244db9de3133f1763b0.tar.gz
uhd-2b15ecde2b2810bdb64c2244db9de3133f1763b0.tar.bz2
uhd-2b15ecde2b2810bdb64c2244db9de3133f1763b0.zip
devtest: Fix counting of underruns/overruns
Our regex was borked.
Diffstat (limited to 'host/tests')
-rwxr-xr-xhost/tests/devtest/benchmark_rate_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/tests/devtest/benchmark_rate_test.py b/host/tests/devtest/benchmark_rate_test.py
index 1548b795c..da7aacd36 100755
--- a/host/tests/devtest/benchmark_rate_test.py
+++ b/host/tests/devtest/benchmark_rate_test.py
@@ -76,7 +76,7 @@ class uhd_benchmark_rate_test(uhd_example_test_case):
run_results['rel_rx_samples_error'] = 100
match = re.search(r'(Num dropped samples):\s*(.*)', app.stdout)
run_results['num_rx_dropped'] = int(match.group(2)) if match else -1
- match = re.search(r'(Num overflows detected):\s*(.*)', app.stdout)
+ match = re.search(r'(Num overruns detected):\s*(.*)', app.stdout)
run_results['num_rx_overruns'] = int(match.group(2)) if match else -1
match = re.search(r'(Num transmitted samples):\s*(.*)', app.stdout)
run_results['num_tx_samples'] = int(match.group(2)) if match else -1
@@ -90,7 +90,7 @@ class uhd_benchmark_rate_test(uhd_example_test_case):
run_results['rel_tx_samples_error'] = 100
match = re.search(r'(Num sequence errors \(Tx\)):\s*(.*)', app.stdout)
run_results['num_tx_seqerrs'] = int(match.group(2)) if match else -1
- match = re.search(r'(Num underflows detected):\s*(.*)', app.stdout)
+ match = re.search(r'(Num underruns detected):\s*(.*)', app.stdout)
run_results['num_tx_underruns'] = int(match.group(2)) if match else -1
match = re.search(r'(Num timeouts \(Rx\)):\s*(.*)', app.stdout)
run_results['num_timeouts_rx'] = int(match.group(2)) if match else -1