Skip to content

Commit

Permalink
tests: update emu supported test
Browse files Browse the repository at this point in the history
Signed-off-by: Trecia Agoylo <[email protected]>
  • Loading branch information
tagoylo committed Sep 16, 2024
1 parent 15884f6 commit 26800df
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 35 deletions.
22 changes: 11 additions & 11 deletions test/test_ad9371.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def test_ad9371_rx_data(test_dma_rx, iio_uri, classname, channel):

#########################################
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
Expand Down Expand Up @@ -314,7 +314,7 @@ def test_ad9371_dds_loopback(

########################################
@pytest.mark.obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
Expand Down Expand Up @@ -353,7 +353,7 @@ def test_ad9371_dds_loopback_with_10dB_splitter(

########################################
@pytest.mark.obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"channel, param_set",
Expand Down Expand Up @@ -387,7 +387,7 @@ def test_ad9371_dds_loopback_for_obs(

#########################################
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
Expand Down Expand Up @@ -423,7 +423,7 @@ def test_ad9371_two_tone_loopback(

#########################################
@pytest.mark.obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
Expand Down Expand Up @@ -459,7 +459,7 @@ def test_ad9371_two_tone_loopback_with_10dB_splitter(

#########################################
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
Expand Down Expand Up @@ -496,7 +496,7 @@ def test_ad9371_dds_gain_check_vary_power(

#########################################
@pytest.mark.obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"channel, param_set, dds_scale, min_rssi, max_rssi",
Expand Down Expand Up @@ -532,7 +532,7 @@ def test_ad9371_dds_gain_check_vary_power_with_10dB_splitter(

#########################################
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
Expand All @@ -557,7 +557,7 @@ def test_ad9371_sfdr(test_sfdr, iio_uri, classname, channel, param_set, sfdr_min

#########################################
@pytest.mark.obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
Expand All @@ -584,7 +584,7 @@ def test_ad9371_sfdr_with_10dB_splitter(

#########################################
@pytest.mark.obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"channel, param_set, sfdr_min",
Expand All @@ -601,7 +601,7 @@ def test_ad9371_sfdr_for_obs(


#########################################
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("attr", ["profile"])
@pytest.mark.parametrize(
Expand Down
18 changes: 9 additions & 9 deletions test/test_ad9375.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def test_ad9375_rx_data(test_dma_rx, iio_uri, classname, channel):


#########################################
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
Expand Down Expand Up @@ -269,7 +269,7 @@ def test_ad9375_dds_loopback(


#########################################
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
Expand Down Expand Up @@ -304,7 +304,7 @@ def test_ad9375_two_tone_loopback(


########################################
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
Expand Down Expand Up @@ -340,7 +340,7 @@ def test_ad9375_dds_gain_check_vary_power(


#########################################
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
Expand All @@ -364,7 +364,7 @@ def test_ad9375_sfdr(test_sfdr, iio_uri, classname, channel, param_set, sfdr_min


#########################################
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("attr", ["profile"])
@pytest.mark.parametrize(
Expand All @@ -378,7 +378,7 @@ def test_ad9375_profile_write(

# AD9375 ONLY
########################################
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, depends, values, tol, repeats",
Expand All @@ -403,7 +403,7 @@ def test_ad9375_attr_with_depends(


########################################
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, depends",
Expand Down Expand Up @@ -450,7 +450,7 @@ def test_ad9375_attr_readonly_with_depends(


########################################
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, depends, start, stop",
Expand Down Expand Up @@ -504,7 +504,7 @@ def test_ad9375_attr_boolean(


########################################
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, value", [("tx_dpd_reset_en_chan0", 1), ("tx_dpd_reset_en_chan1", 1),],
Expand Down
30 changes: 15 additions & 15 deletions test/test_adrv9009_p.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def test_adrv9009_rx_data(test_dma_rx, iio_uri, classname, channel):

########################################
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
Expand Down Expand Up @@ -414,7 +414,7 @@ def test_adrv9009_dds_loopback(

########################################
@pytest.mark.obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
Expand Down Expand Up @@ -447,7 +447,7 @@ def test_adrv9009_dds_loopback_with_10dB_splitter(

########################################
@pytest.mark.obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"channel, param_set, peak_min",
Expand Down Expand Up @@ -480,7 +480,7 @@ def test_adrv9009_dds_loopback_for_obs(


#########################################
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
Expand Down Expand Up @@ -516,7 +516,7 @@ def test_adrv9009_two_tone_loopback(

#########################################
@pytest.mark.obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
Expand Down Expand Up @@ -552,7 +552,7 @@ def test_adrv9009_two_tone_loopback_with_10dB_splitter(

#########################################
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
Expand All @@ -574,7 +574,7 @@ def test_adrv9009_sfdr(test_sfdr, iio_uri, classname, channel, param_set, sfdr_m

#########################################
@pytest.mark.obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
Expand All @@ -598,7 +598,7 @@ def test_adrv9009_sfdr_with_10dB_splitter(

#########################################
@pytest.mark.obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0])
@pytest.mark.parametrize(
Expand All @@ -624,7 +624,7 @@ def test_adrv9009_sfdr_for_obs(

#########################################
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
Expand Down Expand Up @@ -658,7 +658,7 @@ def test_adrv9009_dds_gain_check_agc(

#########################################
@pytest.mark.obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
Expand Down Expand Up @@ -688,7 +688,7 @@ def test_adrv9009_dds_gain_check_agc_with_10db_splitter(

#########################################
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
Expand Down Expand Up @@ -752,7 +752,7 @@ def test_adrv9009_dds_gain_check_vary_power(

#########################################
@pytest.mark.obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
Expand Down Expand Up @@ -814,7 +814,7 @@ def test_adrv9009_dds_gain_check_vary_power_with_10dB_splitter(

#########################################
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
Expand Down Expand Up @@ -855,7 +855,7 @@ def test_adrv9009_iq_loopback(test_iq_loopback, iio_uri, classname, channel, par


#########################################
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("attr", ["profile"])
@pytest.mark.parametrize(
Expand All @@ -869,7 +869,7 @@ def test_adrv9009_profile_write(

#########################################
@pytest.mark.skipif(skip_jesd, reason="JESD module not importable")
@pytest.mark.iio_hardware(hardware)
@pytest.mark.iio_hardware(hardware, True)
def test_adrv9009_jesd(iio_uri):
import adi

Expand Down

0 comments on commit 26800df

Please sign in to comment.