diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2021-07-28 12:43:34 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2021-07-28 12:48:56 +1000 |
commit | 21824bc6ff9a9601d1e2f58b71b0e03c31408cec (patch) | |
tree | 76d8c7fef5984edbf7319a512bb0ad848aa075f9 /.gitlab-ci.yml | |
parent | 94fc9b2200ef4360e7abdce1bcb869e92bc63c6f (diff) | |
download | libinput-21824bc6ff9a9601d1e2f58b71b0e03c31408cec.tar.gz |
gitlab CI: move the SUITES handling to the template where it matters
Should have been part of 9133693b15eb8211c7b08eb2f486a88d915715f6.
This fixes an issue with calls to meson_build.sh with an otherwise empty
MESON_TEST_ARGS - thanks to the space before $SUITES it would no longer
the zero-string condition in meson_build.sh.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a712ec27..39d07a72 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -475,7 +475,7 @@ freebsd:11.2@container-clean: - echo "CI_JOB_NAME=\"$CI_JOB_NAME\"" >> sshenv - echo "MESON_ARGS=\"$MESON_ARGS\"" >> sshenv - echo "MESON_BUILDDIR=\"$MESON_BUILDDIR\"" >> sshenv - - echo "MESON_TEST_ARGS=\"$MESON_TEST_ARGS $SUITES\"" >> sshenv + - echo "MESON_TEST_ARGS=\"$MESON_TEST_ARGS\"" >> sshenv - echo "NINJA_ARGS=\"$NINJA_ARGS\"" >> sshenv - "scp sshenv vm:~/$CI_PROJECT_NAME/.meson_environment" - /app/vmctl exec "cd $CI_PROJECT_NAME ; .gitlab-ci/meson-build.sh" && touch .success || true @@ -515,6 +515,7 @@ freebsd:11.2@container-clean: 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" retry: max: 2 when: script_failure |