mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-05 04:20:13 +01:00
CI: set the LITEST_JOBS in the template, not the script
Fixes: 70c57e9644 ("CI: drop the job count for the valgrind test suite to 2")
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1063>
This commit is contained in:
parent
fb4c5dd7c6
commit
1c80605d56
2 changed files with 12 additions and 12 deletions
|
|
@ -524,11 +524,11 @@ freebsd:13.2@container-clean:
|
|||
variables:
|
||||
# remove the global --no-suite=hardware
|
||||
MESON_TEST_ARGS: ''
|
||||
LITEST_JOBS: 4
|
||||
before_script:
|
||||
- if ! [[ -z $SUITE_NAMES ]]; then SUITES=$(echo $SUITE_NAMES | sed 's/\([^ ]*\)/libinput-test-suite-\1/g'); fi
|
||||
- echo "Testing $SUITES"
|
||||
- export MESON_TEST_ARGS="$MESON_TEST_ARGS $SUITES"
|
||||
- export LITEST_JOBS="2"
|
||||
|
||||
|
||||
.fedora:40@test-suite-vm:
|
||||
|
|
@ -666,7 +666,7 @@ vm-valgrind-touchpad:
|
|||
- vm-touchpad
|
||||
variables:
|
||||
MESON_TEST_ARGS: '--setup=valgrind'
|
||||
LITEST_JOBS: 4
|
||||
LITEST_JOBS: 2
|
||||
retry:
|
||||
max: 2
|
||||
rules:
|
||||
|
|
@ -678,7 +678,7 @@ vm-valgrind-tap:
|
|||
- vm-tap
|
||||
variables:
|
||||
MESON_TEST_ARGS: '--setup=valgrind'
|
||||
LITEST_JOBS: 4
|
||||
LITEST_JOBS: 2
|
||||
retry:
|
||||
max: 2
|
||||
rules:
|
||||
|
|
@ -690,7 +690,7 @@ vm-valgrind-touchpad-buttons:
|
|||
- vm-touchpad-buttons
|
||||
variables:
|
||||
MESON_TEST_ARGS: '--setup=valgrind'
|
||||
LITEST_JOBS: 4
|
||||
LITEST_JOBS: 2
|
||||
retry:
|
||||
max: 2
|
||||
rules:
|
||||
|
|
@ -702,7 +702,7 @@ vm-valgrind-tablet:
|
|||
- vm-tablet
|
||||
variables:
|
||||
MESON_TEST_ARGS: '--setup=valgrind'
|
||||
LITEST_JOBS: 4
|
||||
LITEST_JOBS: 2
|
||||
retry:
|
||||
max: 2
|
||||
rules:
|
||||
|
|
@ -714,7 +714,7 @@ vm-valgrind-gestures-device:
|
|||
- vm-gestures-device
|
||||
variables:
|
||||
MESON_TEST_ARGS: '--setup=valgrind'
|
||||
LITEST_JOBS: 4
|
||||
LITEST_JOBS: 2
|
||||
retry:
|
||||
max: 2
|
||||
rules:
|
||||
|
|
@ -726,7 +726,7 @@ vm-valgrind-backends:
|
|||
- vm-backends
|
||||
variables:
|
||||
MESON_TEST_ARGS: '--setup=valgrind'
|
||||
LITEST_JOBS: 4
|
||||
LITEST_JOBS: 2
|
||||
retry:
|
||||
max: 2
|
||||
rules:
|
||||
|
|
@ -738,7 +738,7 @@ vm-valgrind-misc:
|
|||
- vm-misc
|
||||
variables:
|
||||
MESON_TEST_ARGS: '--setup=valgrind'
|
||||
LITEST_JOBS: 4
|
||||
LITEST_JOBS: 2
|
||||
retry:
|
||||
max: 2
|
||||
rules:
|
||||
|
|
@ -750,7 +750,7 @@ vm-valgrind-other devices:
|
|||
- vm-other devices
|
||||
variables:
|
||||
MESON_TEST_ARGS: '--setup=valgrind'
|
||||
LITEST_JOBS: 4
|
||||
LITEST_JOBS: 2
|
||||
retry:
|
||||
max: 2
|
||||
rules:
|
||||
|
|
@ -762,7 +762,7 @@ vm-valgrind-pointer:
|
|||
- vm-pointer
|
||||
variables:
|
||||
MESON_TEST_ARGS: '--setup=valgrind'
|
||||
LITEST_JOBS: 4
|
||||
LITEST_JOBS: 2
|
||||
retry:
|
||||
max: 2
|
||||
rules:
|
||||
|
|
|
|||
|
|
@ -400,11 +400,11 @@ pre-commit-hooks:
|
|||
variables:
|
||||
# remove the global --no-suite=hardware
|
||||
MESON_TEST_ARGS: ''
|
||||
LITEST_JOBS: 4
|
||||
before_script:
|
||||
- if ! [[ -z $SUITE_NAMES ]]; then SUITES=$(echo $SUITE_NAMES | sed 's/\([^ ]*\)/libinput-test-suite-\1/g'); fi
|
||||
- echo "Testing $SUITES"
|
||||
- export MESON_TEST_ARGS="$MESON_TEST_ARGS $SUITES"
|
||||
- export LITEST_JOBS="2"
|
||||
|
||||
|
||||
{# qemu tests are only done for the latest version of any distribution #}
|
||||
|
|
@ -444,7 +444,7 @@ vm-valgrind-{{suite.name}}:
|
|||
- vm-{{suite.name}}
|
||||
variables:
|
||||
MESON_TEST_ARGS: '--setup=valgrind'
|
||||
LITEST_JOBS: 4
|
||||
LITEST_JOBS: 2
|
||||
retry:
|
||||
max: 2
|
||||
rules:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue