ci: download b3xx images rather than hardcoding

This commit is contained in:
Grant Meyerhoff 2026-08-31 13:53:26 -05:00 committed by Frank Dietze
parent 633782b405
commit 8720fe87ec
3 changed files with 5 additions and 3 deletions

View File

@ -254,7 +254,7 @@ jobs:
export UHD_IMAGES_DIR=$(Build.BinariesDirectory)/uhddev/build/fpga_images
uhd_image_loader --args type=$(devType),serial=$(devSerial)
sleep 10
export UHD_IMAGES_DIR=$HOME/adrv9032_images
$(Build.BinariesDirectory)/uhddev/build-installed/bin/uhd_images_downloader -t b3xx -t fw
uhd_usrp_probe --args type=$(devType),serial=$(devSerial)
python3 ${{ parameters.uhdSrcDir }}/uhddev/host/tests/devtest/run_testsuite.py \
--src-dir ${{ parameters.uhdSrcDir }}/uhddev/host/tests/devtest \

View File

@ -256,7 +256,7 @@ jobs:
cd $(Build.SourcesDirectory)/ettus-rts/config/remote/python_tests/pytests
uhd_image_loader --args type=$(devType),serial=$(devSerial)
sleep 10
export UHD_IMAGES_DIR=$HOME/adrv9032_images
uhd_images_downloader -t b3xx -t fw
uhd_usrp_probe --args type=$(devType),serial=$(devSerial)
python3 ../automated_main.py --ats_config $(pytestAtsConfig) --dut $(pytestDUT) \
--results_path $(Common.TestResultsDirectory)/pytest/rf/$(devFpga) ${{ parameters.extra_rf_test_args }} || rf_test_status=$?

View File

@ -402,7 +402,9 @@ jobs:
displayName: remove old test results no dpdk
- script: |
export UHD_IMAGES_DIR=$(Build.BinariesDirectory)/uhddev/build-installed/share/uhd/images/:$HOME/adrv9032_images
export UHD_IMAGES_DIR=$(Build.BinariesDirectory)/uhddev/build-installed/share/uhd/images/
mkdir -p $(UHD_IMAGES_DIR)
$(Build.BinariesDirectory)/uhddev/build-installed/bin/uhd_images_downloader -t b3xx -t fw
echo '##vso[task.setvariable variable=UHD_IMAGES_DIR]'$UHD_IMAGES_DIR
echo UHD_IMAGES_DIR=$UHD_IMAGES_DIR
displayName: Set UHD_IMAGES_DIR for B3xx