From 057a7dbbb7770878401a81510120ec9930abaf6f Mon Sep 17 00:00:00 2001 From: David Gibson Date: Wed, 6 Mar 2024 15:11:14 +1100 Subject: [PATCH] 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 --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9f28bda..f841eef 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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