mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
23d26cfe7e
I haven’t tested any of them. This is entirely mechanical. I used shellcheck 0.7.0 with default options. Signed-off-by: Philip Withnall <withnall@endlessm.com>
30 lines
506 B
Bash
Executable File
30 lines
506 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set +e
|
|
|
|
case "$1" in
|
|
--log-file)
|
|
log_file="$2"
|
|
shift
|
|
shift
|
|
;;
|
|
*)
|
|
log_file="_build/meson-logs/testlog.json"
|
|
esac
|
|
|
|
meson test \
|
|
-C _build \
|
|
--timeout-multiplier "${MESON_TEST_TIMEOUT_MULTIPLIER}" \
|
|
--no-suite flaky \
|
|
"$@"
|
|
|
|
exit_code=$?
|
|
|
|
python3 .gitlab-ci/meson-junit-report.py \
|
|
--project-name=glib \
|
|
--job-id "${CI_JOB_NAME}" \
|
|
--output "_build/${CI_JOB_NAME}-report.xml" \
|
|
"${log_file}"
|
|
|
|
exit $exit_code
|