From c104c97769e36daa7deb5a4ba03f1f191567fbd9 Mon Sep 17 00:00:00 2001 From: Matthew Crymble Date: Tue, 19 Apr 2022 01:17:49 -0500 Subject: tests: streaming: don't set master clock rate on x310 --- host/tests/pytests/test_streaming.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/host/tests/pytests/test_streaming.py b/host/tests/pytests/test_streaming.py index 958d4900f..3f6affa55 100644 --- a/host/tests/pytests/test_streaming.py +++ b/host/tests/pytests/test_streaming.py @@ -225,8 +225,11 @@ def test_streaming(pytestconfig, dut_type, use_dpdk, dual_SFP, rate, rx_rate, rx benchmark_rate_path = Path(pytestconfig.getoption('uhd_build_dir')) / 'examples/benchmark_rate' + device_args = "" + # construct device args string - device_args = f"master_clock_rate={rate}," + if dut_type.lower() in ['n310', 'n320', 'e320', 'b210']: + device_args += f"master_clock_rate={rate}," if dut_type == "B210": device_args += f"name={pytestconfig.getoption('name')}," @@ -237,7 +240,7 @@ def test_streaming(pytestconfig, dut_type, use_dpdk, dual_SFP, rate, rx_rate, rx device_args += f"second_addr={pytestconfig.getoption('second_addr')}," if use_dpdk: - device_args += f"use_dpdk=1,mgmt_addr={pytestconfig.getoption('mgmt_addr')}" + device_args += f"use_dpdk=1,mgmt_addr={pytestconfig.getoption('mgmt_addr')}," # construct benchmark_rate params dictionary benchmark_rate_params = { -- cgit v1.2.3