diff options
author | Matthew Crymble <matthew.crymble@ni.com> | 2022-04-19 01:08:31 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2022-06-10 13:24:04 -0500 |
commit | 76e94a606c348c40b59de5165e8648d266624127 (patch) | |
tree | e10463646e2ee1e716f12cf63c3ac7e65f908e09 /.ci/templates/job-uhd-streaming-tests.yml | |
parent | 053d089f814cc1c7773d14a12080555014a64b23 (diff) | |
download | uhd-76e94a606c348c40b59de5165e8648d266624127.tar.gz uhd-76e94a606c348c40b59de5165e8648d266624127.tar.bz2 uhd-76e94a606c348c40b59de5165e8648d266624127.zip |
tests: streaming: add support for B210 DUTs
The use_dpdk will be false for all B210 test cases, but still needs
to be defined since the main test_streaming() function requires
a value for it.
Diffstat (limited to '.ci/templates/job-uhd-streaming-tests.yml')
-rw-r--r-- | .ci/templates/job-uhd-streaming-tests.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.ci/templates/job-uhd-streaming-tests.yml b/.ci/templates/job-uhd-streaming-tests.yml index aca08cad2..672802121 100644 --- a/.ci/templates/job-uhd-streaming-tests.yml +++ b/.ci/templates/job-uhd-streaming-tests.yml @@ -167,9 +167,12 @@ jobs: sudo ./setup.sh --auto --dpdk sleep 5 displayName: setup interfaces for use with DPDK + condition: and(succeeded(), not(eq(variables.dutType, 'B210'))) - script: | set -x export PYTHONPATH=${{ parameters.uhdSrcDir }}/host/tests/streaming_performance + export LD_LIBRARY_PATH=$(Build.BinariesDirectory)/uhddev/build/lib:$LD_LIBRARY_PATH + export UHD_IMAGES_DIR=$(Build.BinariesDirectory)/uhddev/build-installed/share/uhd/images cd ${{ parameters.uhdSrcDir }}/host/tests/pytests # Disable creation of __pycache__ files using -B to avoid errors on clean up during next run # as using sudo below creates them with root priveleges. @@ -184,6 +187,7 @@ jobs: continueOnError: true displayName: Run streaming tests with DPDK on $(dutName) + condition: and(succeeded(), not(eq(variables.dutType, 'B210'))) - task: PublishTestResults@2 inputs: testResultsFormat: 'JUnit' |