github: Display meson test logs on failure

Currently the way we integrate the existing tests into meson means meson
test itself doesn't show any detailed logs of the failures, those just go
to the meson testlog file.  As a hack to see what's failing in CI builds,
display that file if the tests fail.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
main
David Gibson 2024-03-06 15:11:14 +11:00
parent 92b5d4e916
commit 057a7dbbb7
1 changed files with 1 additions and 1 deletions

View File

@ -62,4 +62,4 @@ jobs:
run: meson compile -C build

- name: Run check
run: meson test -C build
run: meson test -C build || cat build/meson-logs/testlog.txt