[CI] Fix warnings from pytest in Azure CI (#1617)
* [CI] Fix warnings from pytest
* [CI] Append to LD_LIBRARY_PATH instead of overwrite
---------
Signed-off-by: nileshnegi <Nilesh.Negi@amd.com>
[ROCm/rccl commit: 565f0ade60]
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
8cfbc0fbd1
Коммит
290ca7deca
@@ -54,13 +54,12 @@ jobs:
|
||||
extraBuildFlags: >-
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
-DBUILD_TESTS=ON
|
||||
-DGPU_TARGETS=gfx942
|
||||
-GNinja
|
||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml@pipelines_repo
|
||||
parameters:
|
||||
componentName: rccl
|
||||
testDir: $(Build.SourcesDirectory)/build/test
|
||||
testExecutable: './rccl-UnitTests'
|
||||
testExecutable: 'LD_LIBRARY_PATH=$(Build.SourcesDirectory)/build:${LD_LIBRARY_PATH} NCCL_DEBUG=INFO RCCL_ENABLE_SIGNALHANDLER=1 ./rccl-UnitTests'
|
||||
testParameters: '--gtest_output=xml:./test_output.xml --gtest_color=yes'
|
||||
- ${{ each pytestScript in parameters.pytestList }}:
|
||||
- task: Bash@3
|
||||
@@ -69,4 +68,4 @@ jobs:
|
||||
inputs:
|
||||
targetType: inline
|
||||
workingDirectory: $(Build.SourcesDirectory)/$(pytestFolder)
|
||||
script: pytest test_${{ pytestScript }}.py
|
||||
script: pytest ${{ pytestScript }}.py
|
||||
|
||||
@@ -65,7 +65,7 @@ stages:
|
||||
parameters:
|
||||
componentName: rccl
|
||||
testDir: $(Build.SourcesDirectory)/build/test
|
||||
testExecutable: './rccl-UnitTests'
|
||||
testExecutable: 'LD_LIBRARY_PATH=$(Build.SourcesDirectory)/build:${LD_LIBRARY_PATH} NCCL_DEBUG=INFO RCCL_ENABLE_SIGNALHANDLER=1 ./rccl-UnitTests'
|
||||
testParameters: '--gtest_output=xml:./test_output.xml --gtest_color=yes'
|
||||
- ${{ each pytestScript in parameters.pytestList }}:
|
||||
- task: Bash@3
|
||||
@@ -74,4 +74,4 @@ stages:
|
||||
inputs:
|
||||
targetType: inline
|
||||
workingDirectory: $(Build.SourcesDirectory)/$(pytestFolder)
|
||||
script: pytest test_${{ pytestScript }}.py
|
||||
script: pytest ${{ pytestScript }}.py
|
||||
|
||||
Ссылка в новой задаче
Block a user