mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
ci: download b3xx images rather than hardcoding
This commit is contained in:
parent
633782b405
commit
8720fe87ec
@ -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 \
|
||||
|
||||
@ -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=$?
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user