mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 23:16:14 +01:00
ci: Don’t fail if testlog-unstable_tests.junit.xml doesn’t exist on MSVC
That file is created if running the `unstable_tests` suite succeeds. It can fail, though, leaving that log file nonexistent. There’s no point in failing the whole test run by bailing out if postprocessing the log file fails. Occasionally postprocessing can fail with a `FileNotFoundError`. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
c27b02ace7
commit
42e810e2c1
@ -22,7 +22,7 @@ meson test -C _build --timeout-multiplier %MESON_TEST_TIMEOUT_MULTIPLIER% --setu
|
||||
|
||||
:: Workaround meson issue https://github.com/mesonbuild/meson/issues/9894
|
||||
python -c "n = '_build/meson-logs/testlog.junit.xml'; c = open(n, 'rb').read().replace(b'\x1b', b''); open(n, 'wb').write(c)" || goto :error
|
||||
python -c "n = '_build/meson-logs/testlog-unstable_tests.junit.xml'; c = open(n, 'rb').read().replace(b'\x1b', b''); open(n, 'wb').write(c)" || goto :error
|
||||
python -c "n = '_build/meson-logs/testlog-unstable_tests.junit.xml'; c = open(n, 'rb').read().replace(b'\x1b', b''); open(n, 'wb').write(c)"
|
||||
|
||||
:: FIXME: can we get code coverage support?
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user