mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-19 18:50:43 +02:00
radv/ci: merge all the zink jobs into a single one
Since GL CTS, GLES CTS, and Piglit executions are very fast compared to the machine setup time, it makes sense to combine them into one boot. The execution will run until the first test suite fails, or we are done with the execution. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Acked-by: David Heidelberg <david.heidelberg@collabora.com> Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20006>
This commit is contained in:
parent
22ab226396
commit
5b04a2138f
3 changed files with 33 additions and 39 deletions
|
|
@ -330,7 +330,7 @@ rustfmt:
|
|||
paths:
|
||||
- ${JOB_FOLDER}/results
|
||||
reports:
|
||||
junit: ${JOB_FOLDER}/results/junit.xml
|
||||
junit: ${JOB_FOLDER}/results/**/junit.xml
|
||||
|
||||
.b2c-test-vk:
|
||||
extends:
|
||||
|
|
|
|||
26
.gitlab-ci/valve/gl_combined_testing.sh
Executable file
26
.gitlab-ci/valve/gl_combined_testing.sh
Executable file
|
|
@ -0,0 +1,26 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -eu
|
||||
|
||||
function execute_testsuite {
|
||||
local RESULTS_FOLDER EXEC_DONE_FILE
|
||||
|
||||
RESULTS_FOLDER="results/$1"
|
||||
EXEC_DONE_FILE="$RESULTS_FOLDER/.done"
|
||||
|
||||
if [ ! -f "$EXEC_DONE_FILE" ]; then
|
||||
DEQP_RESULTS_DIR="$RESULTS_FOLDER" PIGLIT_RESULTS_DIR="$RESULTS_FOLDER" $2
|
||||
touch "$EXEC_DONE_FILE"
|
||||
else
|
||||
echo "--> Skipped, as it already was executed"
|
||||
fi
|
||||
}
|
||||
|
||||
echo -e "\n# GL CTS testing"
|
||||
DEQP_VER=gl46 execute_testsuite gl ./install/deqp-runner.sh
|
||||
|
||||
echo -e "\n# GLES CTS testing"
|
||||
DEQP_SUITE=zink-radv execute_testsuite gles ./install/deqp-runner.sh
|
||||
|
||||
echo -e "\n# Piglit testing"
|
||||
execute_testsuite piglit ./install/piglit/piglit-runner.sh
|
||||
|
|
@ -363,52 +363,20 @@ vkcts-vangogh-valve:
|
|||
variables:
|
||||
GPU_VERSION: radv-vangogh-aco
|
||||
|
||||
############### gles/GLCTS
|
||||
.glcts-test-valve:
|
||||
############### Combined Zink testing (GL, GLES, Piglit)
|
||||
.radv-zink-test-valve:
|
||||
extends:
|
||||
- .b2c-test-radv-gl
|
||||
- .deqp-test-valve
|
||||
- .test-manual-mr
|
||||
variables:
|
||||
DEQP_VER: gl46
|
||||
|
||||
glcts-navi10-valve:
|
||||
extends:
|
||||
- .glcts-test-valve
|
||||
- .navi10-test-valve
|
||||
- .test-manual-mr
|
||||
variables:
|
||||
GPU_VERSION: zink-radv
|
||||
|
||||
.gles-test-valve:
|
||||
extends:
|
||||
- .b2c-test-radv-gl
|
||||
- .deqp-test-valve
|
||||
- .test-manual-mr
|
||||
variables:
|
||||
DEQP_SUITE: zink-radv
|
||||
|
||||
gles-navi10-valve:
|
||||
extends:
|
||||
- .gles-test-valve
|
||||
- .navi10-test-valve
|
||||
- .test-manual-mr
|
||||
variables:
|
||||
GPU_VERSION: zink-radv
|
||||
|
||||
############### piglit
|
||||
.piglit-test-valve:
|
||||
extends:
|
||||
- .b2c-test-radv-gl
|
||||
variables:
|
||||
B2C_JOB_SUCCESS_REGEX: '^\+ PIGLIT_EXITCODE=0\r$'
|
||||
B2C_TEST_SCRIPT: ./install/piglit/piglit-runner.sh
|
||||
PIGLIT_PROFILES: all
|
||||
PIGLIT_PLATFORM: gbm
|
||||
B2C_TEST_SCRIPT: ./install/valve/gl_combined_testing.sh
|
||||
B2C_JOB_SUCCESS_REGEX: 'Execution is over, pipeline status: 0'
|
||||
|
||||
piglit-navi10-valve:
|
||||
radv-zink-navi10-valve:
|
||||
extends:
|
||||
- .piglit-test-valve
|
||||
- .radv-zink-test-valve
|
||||
- .navi10-test-valve
|
||||
- .test-manual-mr
|
||||
variables:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue