summaryrefslogtreecommitdiff
path: root/mkosi.build
diff options
context:
space:
mode:
Diffstat (limited to 'mkosi.build')
-rwxr-xr-xmkosi.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkosi.build b/mkosi.build
index 12e88b909c..92eb55b130 100755
--- a/mkosi.build
+++ b/mkosi.build
@@ -28,7 +28,7 @@ export LC_CTYPE=C.UTF-8
[ -f "$BUILDDIR"/build.ninja ] || meson "$BUILDDIR"
ninja -C "$BUILDDIR" all
-[ "$WITH_TESTS" = 0 ] || ninja -C "$BUILDDIR" test
+[ "$WITH_TESTS" = 0 ] || ninja -C "$BUILDDIR" test || ( RET="$?" ; cat "$BUILDDIR"/meson-logs/testlog.txt ; exit "$RET" )
ninja -C "$BUILDDIR" install
mkdir -p "$DESTDIR"/etc