mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
ci: Don’t run tests tagged as ‘flaky’ on the CI machines
This effectively renders those tests useless (since realistically nobody runs tests locally), but it’s better than every other CI run failing for unrelated reasons. The idea is that the ‘flaky’ tag can be temporarily applied to a test while a problem is being investigated or fixed, and then removed later. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
8109eaae5d
commit
7058efb390
@ -34,7 +34,7 @@ fedora-x86_64:
|
||||
- ninja -C _build
|
||||
- mkdir -p _coverage
|
||||
- lcov --config-file .gitlab-ci/lcovrc --directory _build --capture --initial --output-file "_coverage/${CI_JOB_NAME}-baseline.lcov"
|
||||
- meson test -C _build --timeout-multiplier ${MESON_TEST_TIMEOUT_MULTIPLIER}
|
||||
- meson test -C _build --timeout-multiplier ${MESON_TEST_TIMEOUT_MULTIPLIER} --no-suite flaky
|
||||
- lcov --config-file .gitlab-ci/lcovrc --directory _build --capture --output-file "_coverage/${CI_JOB_NAME}.lcov"
|
||||
# FIXME: We should run all installed tests, but do only this one for now
|
||||
# because it cannot run uninstalled. Reconfigure with dtrace disabled
|
||||
@ -169,7 +169,7 @@ freebsd-11-x86_64:
|
||||
# FIXME: extattr(2) support: https://gitlab.gnome.org/GNOME/glib/issues/1404
|
||||
- meson ${MESON_COMMON_OPTIONS} -Db_lundef=false -Diconv=gnu -Dxattr=false _build
|
||||
- ninja -C _build
|
||||
- meson test -C _build --timeout-multiplier "${MESON_TEST_TIMEOUT_MULTIPLIER}"
|
||||
- meson test -C _build --timeout-multiplier "${MESON_TEST_TIMEOUT_MULTIPLIER}" --no-suite flaky
|
||||
except:
|
||||
- tags
|
||||
artifacts:
|
||||
|
@ -10,7 +10,7 @@ meson _build || goto :error
|
||||
ninja -C _build || goto :error
|
||||
|
||||
:: FIXME: dont ignore test errors
|
||||
meson test -C _build --timeout-multiplier %MESON_TEST_TIMEOUT_MULTIPLIER%
|
||||
meson test -C _build --timeout-multiplier %MESON_TEST_TIMEOUT_MULTIPLIER% --no-suite flaky
|
||||
|
||||
:: FIXME: can we get code coverage support?
|
||||
|
||||
|
@ -51,7 +51,7 @@ ninja
|
||||
--output-file "${DIR}/_coverage/${CI_JOB_NAME}-baseline.lcov"
|
||||
|
||||
# FIXME: fix the test suite
|
||||
meson test --timeout-multiplier ${MESON_TEST_TIMEOUT_MULTIPLIER} || true
|
||||
meson test --timeout-multiplier ${MESON_TEST_TIMEOUT_MULTIPLIER} --no-suite flaky || true
|
||||
|
||||
"${LCOV}" \
|
||||
--quiet \
|
||||
|
Loading…
Reference in New Issue
Block a user