Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: adrv9002: update to the new API #624

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

nunojsa
Copy link
Contributor

@nunojsa nunojsa commented Jan 17, 2025

Description

Note the profiles are the same and it's just a matter of renaming since the version is part of the filename.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How has this been tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Test Configuration:

  • Hardware:
  • OS:

Documentation

If this is a new feature or example please mention or link any documentation. All new hardware interface classes require documentation.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have signed off all commits and they contain "Signed-off by: "
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Note the profiles are the same and it's just a matter of renaming since
the version is part of the filename.

Signed-off-by: Nuno Sa <[email protected]>
@nunojsa nunojsa requested a review from tfcollins January 17, 2025 14:23
Copy link

github-actions bot commented Jan 17, 2025

Test Results

1 643 tests  ±0     376 ✅ ±0   11m 58s ⏱️ -1s
    1 suites ±0   1 267 💤 ±0 
    1 files   ±0       0 ❌ ±0 

Results for commit ade5c9a. ± Comparison against base commit 39a62ea.

This pull request removes 8 and adds 8 tests. Note that renamed tests count towards both.
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=rx_hardwaregain_chan0-val=[19.5, 13.5, 24.5, 30.0, 1.5, 13.5, 26.0, 16.5, 22.0, 28.5]-depends={'gain_control_mode_chan1': 'spi', 'rx_ensm_mode_chan1': 'rf_enabled'}-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=rx_hardwaregain_chan0-val=[6.0, 17.0, 23.0, 7.5, 14.0, 30.5, 24.0, 11.5, 11.0, 34.0]-depends={'gain_control_mode_chan0': 'spi', 'rx_ensm_mode_chan0': 'rf_enabled'}-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=tx_hardwaregain_chan0-val=[-16.75, -7.9, -36.3, -14.5, -11.35, -37.5, -28.7, -22.3, -0.9, -33.15]-depends={'atten_control_mode_chan0': 'spi'}-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=tx_hardwaregain_chan1-val=[-39.2, -35.05, -12.85, -17.55, -24.15, -24.05, -11.7, -14.4, -26.25, -6.5]-depends={'atten_control_mode_chan1': 'spi'}-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_nco_write_profile[profile_file=/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_10_lvds_nco_api_68_13_7.json-depends={'write_stream': '/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_10_lvds_nco_api_68_13_7.stream'}-attr=write_profile-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_profile_write[profile_file=/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_20_lvds_api_68_13_7.json-depends={'write_stream': '/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_20_lvds_api_68_13_7.stream'}-attr=write_profile-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_profile_write[profile_file=/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_40_lvds_api_68_13_7.json-depends={'write_stream': '/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_40_lvds_api_68_13_7.stream'}-attr=write_profile-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_stream_profile_write[profile_file=/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_5_cmos_api_68_13_7.json-depends={'write_stream': '/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_5_cmos_api_68_13_7.stream'}-attr=write_profile-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=rx_hardwaregain_chan0-val=[4.0, 32.5, 7.0, 21.0, 28.0, 8.5, 25.5, 1.0, 16.5, 4.5]-depends={'gain_control_mode_chan0': 'spi', 'rx_ensm_mode_chan0': 'rf_enabled'}-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=rx_hardwaregain_chan0-val=[6.0, 27.5, 28.0, 17.5, 16.0, 13.0, 27.0, 7.0, 27.5, 1.0]-depends={'gain_control_mode_chan1': 'spi', 'rx_ensm_mode_chan1': 'rf_enabled'}-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=tx_hardwaregain_chan0-val=[-21.9, -2.55, -16.25, -33.85, -25.3, -17.25, -29.25, -18.15, -28.9, -30.55]-depends={'atten_control_mode_chan0': 'spi'}-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=tx_hardwaregain_chan1-val=[-14.0, -28.3, -9.2, -29.7, -2.15, -8.5, -13.7, -31.5, -4.95, -14.0]-depends={'atten_control_mode_chan1': 'spi'}-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_nco_write_profile[profile_file=/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_10_lvds_nco_api_68_14_10.json-depends={'write_stream': '/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_10_lvds_nco_api_68_14_10.stream'}-attr=write_profile-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_profile_write[profile_file=/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_20_lvds_api_68_14_10.json-depends={'write_stream': '/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_20_lvds_api_68_14_10.stream'}-attr=write_profile-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_profile_write[profile_file=/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_40_lvds_api_68_14_10.json-depends={'write_stream': '/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_40_lvds_api_68_14_10.stream'}-attr=write_profile-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_stream_profile_write[profile_file=/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_5_cmos_api_68_14_10.json-depends={'write_stream': '/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_5_cmos_api_68_14_10.stream'}-attr=write_profile-classname=adi.adrv9002]
This pull request removes 4 skipped tests and adds 4 skipped tests. Note that renamed tests count towards both.
test.test_adrv9002_p ‑ test_adrv9002_nco_write_profile[profile_file=/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_10_lvds_nco_api_68_13_7.json-depends={'write_stream': '/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_10_lvds_nco_api_68_13_7.stream'}-attr=write_profile-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_profile_write[profile_file=/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_20_lvds_api_68_13_7.json-depends={'write_stream': '/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_20_lvds_api_68_13_7.stream'}-attr=write_profile-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_profile_write[profile_file=/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_40_lvds_api_68_13_7.json-depends={'write_stream': '/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_40_lvds_api_68_13_7.stream'}-attr=write_profile-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_stream_profile_write[profile_file=/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_5_cmos_api_68_13_7.json-depends={'write_stream': '/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_5_cmos_api_68_13_7.stream'}-attr=write_profile-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_nco_write_profile[profile_file=/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_10_lvds_nco_api_68_14_10.json-depends={'write_stream': '/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_10_lvds_nco_api_68_14_10.stream'}-attr=write_profile-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_profile_write[profile_file=/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_20_lvds_api_68_14_10.json-depends={'write_stream': '/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_20_lvds_api_68_14_10.stream'}-attr=write_profile-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_profile_write[profile_file=/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_40_lvds_api_68_14_10.json-depends={'write_stream': '/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_40_lvds_api_68_14_10.stream'}-attr=write_profile-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_stream_profile_write[profile_file=/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_5_cmos_api_68_14_10.json-depends={'write_stream': '/home/runner/work/pyadi-iio/pyadi-iio/test/adrv9002_profiles/lte_5_cmos_api_68_14_10.stream'}-attr=write_profile-classname=adi.adrv9002]

♻️ This comment has been updated with latest results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant