tree-wide: Use meson test -q
meson test output is extremely verbose, printing a separate line for each successful test. Let's add -q/--quiet everywhere so it only prints full lines for skipped and failed tests.
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
85e6b98380
commit
9848f56cc6
@@ -124,7 +124,8 @@ jobs:
|
||||
--no-stdsplit \
|
||||
--num-processes "$(($(nproc) - 1))" \
|
||||
--timeout-multiplier 2 \
|
||||
--max-lines 300
|
||||
--max-lines 300 \
|
||||
--quiet
|
||||
|
||||
- name: Archive failed test journals
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
@@ -80,7 +80,7 @@ jobs:
|
||||
run: mkosi box -- env CC=clang CXX=clang++ meson setup -Dlocalegen-path=/usr/bin/locale-gen -Dcompat-mutable-uid-boundaries=true build
|
||||
|
||||
- name: Run clang-tidy
|
||||
run: mkosi box -- meson test -C build --suite=clang-tidy --print-errorlogs --no-stdsplit
|
||||
run: mkosi box -- meson test -C build --suite=clang-tidy --print-errorlogs --no-stdsplit --quiet
|
||||
|
||||
- name: Build with musl
|
||||
run: mkosi box -- .github/workflows/build-test-musl.sh
|
||||
|
||||
@@ -308,6 +308,7 @@ jobs:
|
||||
--print-errorlogs \
|
||||
--no-stdsplit \
|
||||
--num-processes "$(($(nproc) - 1))" \
|
||||
--quiet \
|
||||
"${MAX_LINES[@]}"
|
||||
|
||||
- name: Archive failed test journals
|
||||
|
||||
@@ -47,7 +47,7 @@ for phase in "${PHASES[@]}"; do
|
||||
# correctly detect the environment.
|
||||
env \
|
||||
SYSTEMD_IN_CHROOT=yes \
|
||||
meson test -C build --print-errorlogs --no-stdsplit
|
||||
meson test -C build --print-errorlogs --no-stdsplit --quiet
|
||||
;;
|
||||
CLEANUP)
|
||||
info "Cleanup phase"
|
||||
|
||||
@@ -109,7 +109,7 @@ for phase in "${PHASES[@]}"; do
|
||||
run_meson -Dnobody-group=nogroup --werror -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true "${MESON_ARGS[@]}" build
|
||||
ninja -C build -v
|
||||
# Ensure setting a timezone (like the reproducible build tests do) does not break time/date unit tests
|
||||
TZ=GMT+12 meson test "${MESON_TEST_ARGS[@]}" -C build --print-errorlogs --no-stdsplit
|
||||
TZ=GMT+12 meson test "${MESON_TEST_ARGS[@]}" -C build --print-errorlogs --no-stdsplit --quiet
|
||||
;;
|
||||
RUN_ASAN_UBSAN|RUN_GCC_ASAN_UBSAN|RUN_CLANG_ASAN_UBSAN|RUN_CLANG_ASAN_UBSAN_NO_DEPS)
|
||||
# TODO: drop after we switch to ubuntu 26.04
|
||||
@@ -151,7 +151,7 @@ for phase in "${PHASES[@]}"; do
|
||||
# during debugging, wonderful), so let's at least keep a workaround
|
||||
# here to make the builds stable for the time being.
|
||||
(set +x; while :; do echo -ne "\n[WATCHDOG] $(date)\n"; sleep 30; done) &
|
||||
meson test --timeout-multiplier=3 -C build --print-errorlogs --no-stdsplit
|
||||
meson test --timeout-multiplier=3 -C build --print-errorlogs --no-stdsplit --quiet
|
||||
;;
|
||||
CLEANUP)
|
||||
info "Cleanup phase"
|
||||
|
||||
Reference in New Issue
Block a user