gitlab-ci: left-over from junit cleanup

This should have been part of GNOME/glib!2686 (sorry!)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau 2022-05-25 15:27:08 +02:00
parent aff04305c4
commit a8058cb12c
2 changed files with 1 additions and 28 deletions

View File

@ -105,7 +105,6 @@ fedora-x86_64:
- "_build/docs/reference/gio/gio-undeclared.txt" - "_build/docs/reference/gio/gio-undeclared.txt"
- "_build/docs/reference/gio/gio-undocumented.txt" - "_build/docs/reference/gio/gio-undocumented.txt"
- "_build/docs/reference/gio/gio-unused.txt" - "_build/docs/reference/gio/gio-unused.txt"
- "_build/${CI_JOB_NAME}-report.xml"
- "_coverage" - "_coverage"
debian-stable-x86_64: debian-stable-x86_64:
@ -138,7 +137,6 @@ debian-stable-x86_64:
- "_build/config.h" - "_build/config.h"
- "_build/glib/glibconfig.h" - "_build/glib/glibconfig.h"
- "_build/meson-logs" - "_build/meson-logs"
- "_build/${CI_JOB_NAME}-report.xml"
installed-tests: installed-tests:
extends: extends:
@ -205,7 +203,6 @@ G_DISABLE_ASSERT:
- "_build/config.h" - "_build/config.h"
- "_build/glib/glibconfig.h" - "_build/glib/glibconfig.h"
- "_build/meson-logs" - "_build/meson-logs"
- "_build/${CI_JOB_NAME}-report.xml"
valgrind: valgrind:
extends: extends:
@ -225,7 +222,6 @@ valgrind:
_build _build
- ninja -C _build - ninja -C _build
- bash -x ./.gitlab-ci/run-tests.sh - bash -x ./.gitlab-ci/run-tests.sh
--log-file _build/meson-logs/testlog-valgrind.json
--wrap "valgrind --tool=memcheck --error-exitcode=1 --track-origins=yes --leak-check=full --leak-resolution=high --num-callers=50 --show-leak-kinds=definite,possible --show-error-list=yes --suppressions=${CI_PROJECT_DIR}/tools/glib.supp" --wrap "valgrind --tool=memcheck --error-exitcode=1 --track-origins=yes --leak-check=full --leak-resolution=high --num-callers=50 --show-leak-kinds=definite,possible --show-error-list=yes --suppressions=${CI_PROJECT_DIR}/tools/glib.supp"
--no-suite no-valgrind --no-suite no-valgrind
--no-suite slow --no-suite slow
@ -234,7 +230,7 @@ valgrind:
allow_failure: true allow_failure: true
artifacts: artifacts:
reports: reports:
junit: "_build/meson-logs/testlog.junit.xml" junit: "_build/meson-logs/testlog-valgrind.junit.xml"
name: "glib-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}" name: "glib-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
when: always when: always
expire_in: 1 week expire_in: 1 week
@ -281,7 +277,6 @@ cross-mingw64:
expire_in: 1 week expire_in: 1 week
paths: paths:
- _build/meson-logs - _build/meson-logs
- "_build/${env:CI_JOB_NAME}-report.xml"
- _build/glib/libglib-2.0-0.dll - _build/glib/libglib-2.0-0.dll
- _build/gio/libgio-2.0-0.dll - _build/gio/libgio-2.0-0.dll
- _build/gmodule/libgmodule-2.0-0.dll - _build/gmodule/libgmodule-2.0-0.dll
@ -309,7 +304,6 @@ msys2-mingw32:
expire_in: 1 week expire_in: 1 week
paths: paths:
- _build/meson-logs - _build/meson-logs
- "_build/${env:CI_JOB_NAME}-report.xml"
- _coverage/ - _coverage/
vs2017-x64: vs2017-x64:
@ -333,7 +327,6 @@ vs2017-x64:
expire_in: 1 week expire_in: 1 week
paths: paths:
- _build/meson-logs - _build/meson-logs
- "_build/${env:CI_JOB_NAME}-report.xml"
- _build/glib/libglib-2.0-0.dll - _build/glib/libglib-2.0-0.dll
- _build/gio/libgio-2.0-0.dll - _build/gio/libgio-2.0-0.dll
- _build/gmodule/libgmodule-2.0-0.dll - _build/gmodule/libgmodule-2.0-0.dll
@ -362,7 +355,6 @@ vs2017-x64-static:
expire_in: 1 week expire_in: 1 week
paths: paths:
- _build/meson-logs - _build/meson-logs
- "_build/${env:CI_JOB_NAME}-report.xml"
freebsd-12-x86_64: freebsd-12-x86_64:
# The FreeBSD 13 build is run on each commit, so the FreeBSD 12 build can be # The FreeBSD 13 build is run on each commit, so the FreeBSD 12 build can be
@ -408,7 +400,6 @@ freebsd-12-x86_64:
- "_build/config.h" - "_build/config.h"
- "_build/glib/glibconfig.h" - "_build/glib/glibconfig.h"
- "_build/meson-logs" - "_build/meson-logs"
- "_build/${CI_JOB_NAME}-report.xml"
freebsd-13-x86_64: freebsd-13-x86_64:
extends: .only-origin extends: .only-origin
@ -436,7 +427,6 @@ freebsd-13-x86_64:
- "_build/config.h" - "_build/config.h"
- "_build/glib/glibconfig.h" - "_build/glib/glibconfig.h"
- "_build/meson-logs" - "_build/meson-logs"
- "_build/${CI_JOB_NAME}-report.xml"
macos: macos:
# FIXME: Temporarily disabled as the worker is offline # FIXME: Temporarily disabled as the worker is offline
@ -474,7 +464,6 @@ macos:
- "_build/config.h" - "_build/config.h"
- "_build/glib/glibconfig.h" - "_build/glib/glibconfig.h"
- "_build/meson-logs" - "_build/meson-logs"
- "_build/${CI_JOB_NAME}-report.xml"
coverage: coverage:
extends: .only-default extends: .only-default

View File

@ -1,23 +1,7 @@
#!/bin/bash #!/bin/bash
set +e
case "$1" in
--log-file)
log_file="$2"
shift
shift
;;
*)
log_file="_build/meson-logs/testlog.json"
esac
meson test \ meson test \
-C _build \ -C _build \
--timeout-multiplier "${MESON_TEST_TIMEOUT_MULTIPLIER}" \ --timeout-multiplier "${MESON_TEST_TIMEOUT_MULTIPLIER}" \
--no-suite flaky \ --no-suite flaky \
"$@" "$@"
exit_code=$?
exit $exit_code