exclude template from test proxy (#4189)
* exclude template from test proxy * exclute testproxy log also
This commit is contained in:
parent
9ab6a1f62a
commit
7a39344c3b
@ -152,7 +152,7 @@ jobs:
|
||||
runProxy: true
|
||||
rootFolder: '$(Build.SourcesDirectory)/sdk/${{parameters.ServiceDirectory}}'
|
||||
templateFolder: '$(Build.SourcesDirectory)/sdk/${{parameters.ServiceDirectory}}'
|
||||
condition: and(succeeded(), contains(variables.CmakeArgs, 'BUILD_TESTING=ON'))
|
||||
condition: and(succeeded(), contains(variables.CmakeArgs, 'BUILD_TESTING=ON'),ne('${{parameters.ServiceDirectory}}', 'template'))
|
||||
|
||||
- ${{ parameters.PreTestSteps }}
|
||||
|
||||
@ -160,7 +160,7 @@ jobs:
|
||||
test-proxy restore -a $(Build.SourcesDirectory)/sdk/${{parameters.ServiceDirectory}}
|
||||
workingDirectory: '$(Build.SourcesDirectory)/sdk/${{parameters.ServiceDirectory}}'
|
||||
displayName: Restore Recordings
|
||||
condition: and(succeeded(), contains(variables.CmakeArgs, 'BUILD_TESTING=ON'), ne('${{parameters.ServiceDirectory}}', 'core'))
|
||||
condition: and(succeeded(), contains(variables.CmakeArgs, 'BUILD_TESTING=ON'), ne('${{parameters.ServiceDirectory}}', 'core'),ne('${{parameters.ServiceDirectory}}', 'template'))
|
||||
|
||||
- pwsh: |
|
||||
ctest `
|
||||
@ -178,7 +178,7 @@ jobs:
|
||||
- pwsh: |
|
||||
get-content test-proxy.log
|
||||
displayName: TestProxy Log
|
||||
condition: and(succeededOrFailed(), contains(variables.CmakeArgs, 'BUILD_TESTING=ON'))
|
||||
condition: and(succeededOrFailed(), contains(variables.CmakeArgs, 'BUILD_TESTING=ON'),ne('${{parameters.ServiceDirectory}}', 'template'))
|
||||
workingDirectory: $(Build.SourcesDirectory)
|
||||
continueOnError: true
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user