diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-05-26 20:17:15 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-05-26 20:19:53 +0200 |
commit | 5dfdcb372f4eef880cfb197365165c6a29655a6e (patch) | |
tree | 4aa88622ad48ebc5191ff6525e56bc5008609e70 /.gitlab-ci.yml | |
parent | e894534314d7730ccac075b09d6222e7b1df7e8f (diff) | |
download | glib-5dfdcb372f4eef880cfb197365165c6a29655a6e.tar.gz |
ci: unify the test timeout multiplier across jobs
Introduce a MESON_TEST_TIMEOUT_MULTIPLIER env var and use it in all test scripts.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ae96804db..ccee2ed0c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,6 +9,9 @@ cache: paths: - _ccache/ +variables: + MESON_TEST_TIMEOUT_MULTIPLIER: 2 + fedora-meson-x86_64: stage: build variables: @@ -17,7 +20,7 @@ fedora-meson-x86_64: - meson --prefix /usr --libdir /usr/lib64 --buildtype debug --werror -Dsystemtap=true -Ddtrace=true _build . - cd _build - ninja - - meson test --timeout-multiplier 2 + - meson test --timeout-multiplier ${MESON_TEST_TIMEOUT_MULTIPLIER} - cd .. - mkdir -p _coverage - lcov --rc lcov_branch_coverage=1 --directory . --capture --no-external --output-file "_coverage/${CI_JOB_NAME}.lcov" |