diff options
author | Matthew Crymble <matthew.crymble@ni.com> | 2022-04-26 18:35:44 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2022-06-10 13:24:04 -0500 |
commit | 91de4116d8f7c01db36095f46f040e6e9bf815dc (patch) | |
tree | 72ecb5cbf4b49340c894a44f2b26051d9982bc33 /.ci/uhd-hardware-test-dev.yml | |
parent | ddd00256984bb503aa78729fb6e429e6ab8e1e8c (diff) | |
download | uhd-91de4116d8f7c01db36095f46f040e6e9bf815dc.tar.gz uhd-91de4116d8f7c01db36095f46f040e6e9bf815dc.tar.bz2 uhd-91de4116d8f7c01db36095f46f040e6e9bf815dc.zip |
tests: streaming: add option to run streaming tests in dev pipeline
Diffstat (limited to '.ci/uhd-hardware-test-dev.yml')
-rw-r--r-- | .ci/uhd-hardware-test-dev.yml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.ci/uhd-hardware-test-dev.yml b/.ci/uhd-hardware-test-dev.yml index 625ecf34a..f12d451b4 100644 --- a/.ci/uhd-hardware-test-dev.yml +++ b/.ci/uhd-hardware-test-dev.yml @@ -2,6 +2,22 @@ trigger: none pr: none +parameters: +- name: run_hardware_tests + type: boolean + displayName: Run Hardware Tests + default: false +- name: run_streaming_tests + type: boolean + displayName: Run Streaming Tests + default: false +- name: testLength + type: string + values: + - 'smoke' + - 'full' + - 'stress' + resources: pipelines: - pipeline: uhd_mono_pipeline @@ -30,6 +46,8 @@ resources: stages: - stage: test_uhd_embedded_stage displayName: Test Embedded UHD + dependsOn: [] + condition: ${{ parameters.run_hardware_tests }} jobs: - template: templates/tests/job-uhd-x4xx-hardware-tests-sdr-test0.yml parameters: @@ -39,3 +57,15 @@ stages: parameters: testOS: ubuntu1804 uhdArtifactSource: uhd_mono_pipeline +- stage: test_streaming_stage + displayName: Test UHD Streaming + dependsOn: [] + condition: ${{ parameters.run_streaming_tests }} + jobs: + - template: templates/job-uhd-streaming-tests-beauty.yml + parameters: + testOS: ubuntu2004 + uhdSrcDir: $(Build.SourcesDirectory)/uhddev + uhdArtifactSource: uhd_mono_pipeline + testLength: ${{ parameters.testLength }} + |