gitlab-ci: copy piglit expected results to artifacts
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 11 Dec 2020 09:05:14 +0000 (10:05 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 11 Dec 2020 11:02:37 +0000 (11:02 +0000)
I somehow missed this while reworking the CI bits to reduce bandwidth
usage. This emits an error on stdout, but doesn't actually fail the
tests.

Fixes: 195a001d736 ("gitlab-ci: do not clone git-repo for test-job")
Reviewed-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8052>

.gitlab-ci/windows/mesa_build.ps1
.gitlab-ci/windows/piglit_run.ps1

index e610627..e290060 100644 (file)
@@ -19,3 +19,4 @@ if (!$buildstatus) {
 }
 
 Copy-Item ".\.gitlab-ci\windows\piglit_run.ps1" -Destination $installdir
+Copy-Item ".\.gitlab-ci\windows\quick_gl.txt" -Destination $installdir
index cdbfa5e..705d8bd 100644 (file)
@@ -7,7 +7,7 @@ cmd.exe /C "C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64 -arch=amd6
 
 py -3 C:\Piglit\bin\piglit.py summary console .\results | Select -SkipLast 1 | Select-String -NotMatch -Pattern ': pass' | Set-Content -Path .\result.txt
 
-$diff = Compare-Object -ReferenceObject $(Get-Content ".gitlab-ci\windows\$env:PIGLIT_PROFILE.txt") `
+$diff = Compare-Object -ReferenceObject $(Get-Content ".\_install\$env:PIGLIT_PROFILE.txt") `
                        -DifferenceObject $(Get-Content .\result.txt)
 if (-Not $diff) {
   Exit 0