From b76271a5071db3d357216e6af370389b0b614358 Mon Sep 17 00:00:00 2001 From: "Travis F. Collins" Date: Wed, 25 Sep 2024 12:28:21 -0600 Subject: [PATCH] Add testing for AD9213 Signed-off-by: Travis F. Collins --- test/test_ad9213_p.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/test_ad9213_p.py diff --git a/test/test_ad9213_p.py b/test/test_ad9213_p.py new file mode 100644 index 000000000..71b0da3c4 --- /dev/null +++ b/test/test_ad9213_p.py @@ -0,0 +1,11 @@ +import pytest + +hardware = "ad9213" +classname = "adi.ad9213" + + +@pytest.mark.iio_hardware(hardware, True) +@pytest.mark.parametrize("classname", [(classname)]) +@pytest.mark.parametrize("channel", [0]) +def test_ad9680_rx_data(test_dma_rx, iio_uri, classname, channel): + test_dma_rx(iio_uri, classname, channel, buffer_size=2 ** 11)