diff --git a/.jenkins/common.groovy b/.jenkins/common.groovy index f2b559ad9f..33e92a7f90 100644 --- a/.jenkins/common.groovy +++ b/.jenkins/common.groovy @@ -26,17 +26,20 @@ def runCompileCommand(platform, project, jobName, boolean debug=false, boolean s def runTestCommand (platform, project) { String libLocation = '' + String libvaDriverPath = "" if (platform.jenkinsLabel.contains('rhel')) { libLocation = ':/usr/local/lib' } else if (platform.jenkinsLabel.contains('sles')) { libLocation = ':/usr/local/lib' + libvaDriverPath = "export LIBVA_DRIVERS_PATH=/opt/amdgpu/lib64/dri" } def command = """#!/usr/bin/env bash set -ex export HOME=/home/jenkins + ${libvaDriverPath} echo make test cd ${project.paths.project_build_prefix}/build/release LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:/opt/rocm/lib${libLocation} make test ARGS="-VV --rerun-failed --output-on-failure"