From 8fe76317fb02fcc959954724b86c554c7745d62f Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Tue, 12 Aug 2025 09:47:28 -0500 Subject: [PATCH 1/2] feat(makefile): support more detailed test output Add a command to show a prettier test output so you can see what's going on easier. Signed-off-by: Austin Horstman --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 3bb11199..c362ee69 100644 --- a/Makefile +++ b/Makefile @@ -23,5 +23,9 @@ test: meson test -C build --no-rebuild --verbose --suite waybar .PHONY: test +test-detailed: + meson test -C build --verbose --print-errorlogs --test-args='--reporter console -s' +.PHONY: test-detailed + clean: rm -rf build From 25ac6b7a801eefb30b4f9263f28311dd09939c92 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Tue, 12 Aug 2025 09:59:45 -0500 Subject: [PATCH 2/2] refactor(makefile): allow build on test command meson will skip building, if not needed, but we want to make sure we're actually testing what we expect. Signed-off-by: Austin Horstman --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c362ee69..12af8e0e 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ debug-run: build-debug ./build/waybar --log-level debug test: - meson test -C build --no-rebuild --verbose --suite waybar + meson test -C build --verbose --suite waybar .PHONY: test test-detailed: