ci: bump the number of tests per group from 500 to 5000 for Vulkan drivers
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 12 Oct 2023 11:27:29 +0000 (13:27 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 18 Oct 2023 12:52:37 +0000 (12:52 +0000)
Except for lvp which already forces 1.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25476>

.gitlab-ci/deqp-runner.sh
src/gallium/frontends/lavapipe/ci/gitlab-ci.yml

index cf7b22d..e8ae657 100755 (executable)
@@ -126,6 +126,11 @@ if [ "$PIGLIT_PLATFORM" = "gbm" ]; then
     DEQP_SKIPS="$DEQP_SKIPS $INSTALL/gbm-skips.txt"
 fi
 
+if [ -n "$VK_DRIVER" ] && [ -z "$DEQP_SUITE" ]; then
+    # Bump the number of tests per group to reduce the startup time of VKCTS.
+    DEQP_RUNNER_OPTIONS="$DEQP_RUNNER_OPTIONS --tests-per-group ${DEQP_RUNNER_TESTS_PER_GROUP:-5000}"
+fi
+
 # Set the path to VK validation layer settings (in case it ends up getting loaded)
 export VK_LAYER_SETTINGS_PATH=$INSTALL/$GPU_VERSION-validation-settings.txt
 
index 41ee5d0..b2eee76 100644 (file)
@@ -20,7 +20,8 @@ lavapipe-vk-asan:
     DEQP_FRACTION: 1000
     # Skip dlclose so that we get good backtraces of the leaks.
     # Don't batch the tests into caselists while we're leaky.
-    DEQP_RUNNER_OPTIONS: "--env LD_PRELOAD=libasan.so.8:libdlclose-skip.so --tests-per-group 1"
+    DEQP_RUNNER_OPTIONS: "--env LD_PRELOAD=libasan.so.8:libdlclose-skip.so"
+    DEQP_RUNNER_TESTS_PER_GROUP: 1
   needs:
     - debian/x86_64_test-vk
     - debian-testing-asan