mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
c8ce3786d7
meson supports JUnit XML format since 0.55. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
24 lines
320 B
Bash
Executable File
24 lines
320 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=$?
|
|
|
|
exit $exit_code
|