Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .azure-pipelines/test-docker-sonic-vs-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ jobs:
params=" ${params} --num-ports=${{ parameters.num_ports }} "
fi

all_tests=$(ls test_*.py)
# By default, exclude DASH tests since they are run separately
all_tests=$(ls test_*.py | grep -v "test_dash")
all_tests="${all_tests} p4rt"

if [ -n '${{ parameters.run_tests_pattern }}' ]; then
Expand Down
16 changes: 14 additions & 2 deletions azure-pipelines-dash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,28 @@ stages:
sairedis_artifact_branch: bluefield
sairedis_artifact_pattern: target/debs/buster

- stage: Test
- stage: TestDash
dependsOn: BuildDocker
condition: succeeded('BuildDocker')
jobs:
- template: .azure-pipelines/test-docker-sonic-vs-template.yml
parameters:
log_artifact_name: log
gcov_artifact_name: sonic-gcov
gcov_artifact_name: sonic-gcov-dash
sonic_slave: sonic-slave-buster
swss_common_branch: master
archive_gcov: true
num_ports: 2
run_tests_pattern: test_dash_*.py

- stage: Test
dependsOn: BuildDocker
condition: succeeded('BuildDocker')
jobs:
- template: .azure-pipelines/test-docker-sonic-vs-template.yml
parameters:
log_artifact_name: log
gcov_artifact_name: sonic-gcov
sonic_slave: sonic-slave-buster
swss_common_branch: master
archive_gcov: true