From 1a29f3dfdb247d7f6a8bb6b3d559db497230f09d Mon Sep 17 00:00:00 2001 From: Jesse Natalie Date: Thu, 26 Jan 2023 13:52:08 -0800 Subject: [PATCH] CI/windows: Apply CI_FDO_CONCURRENT to piglit too Reviewed-by: Daniel Stone Part-of: --- .gitlab-ci/windows/piglit_run.ps1 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci/windows/piglit_run.ps1 b/.gitlab-ci/windows/piglit_run.ps1 index f824e16505e..84eac45a449 100644 --- a/.gitlab-ci/windows/piglit_run.ps1 +++ b/.gitlab-ci/windows/piglit_run.ps1 @@ -4,10 +4,16 @@ Copy-Item -Path _install\bin\opengl32.dll -Destination C:\Piglit\bin\opengl32.dl Copy-Item -Path _install\bin\libgallium_wgl.dll -Destination C:\Piglit\bin\libgallium_wgl.dll Copy-Item -Path _install\bin\libglapi.dll -Destination C:\Piglit\bin\libglapi.dll +$jobs = "" +if ($null -ne $env:FDO_CI_CONCURRENT) { + $jobs = "--jobs", "$($env:FDO_CI_CONCURRENT)" +} + deqp-runner suite --output .\logs --suite "_install/$env:PIGLIT_SUITE" ` --skips "_install/$env:PIGLIT_SKIPS" ` --baseline "_install/$env:PIGLIT_BASELINE" ` - --flakes "_install/$env:PIGLIT_FLAKES" + --flakes "_install/$env:PIGLIT_FLAKES" ` + $jobs if (!$?) { Exit 1 }