mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-07 17:17:44 +03:00
CI: set TZ= in a unit test run to ensure tests don't break
(cherry picked from commit431f836bd4
) (cherry picked from commitb7fe2d4f97
) (cherry picked from commited703826c4
) (cherry picked from commitc4629b7046
)
This commit is contained in:
parent
d91a1c0f2c
commit
8bd5490fd0
3
.github/workflows/unit_tests.sh
vendored
3
.github/workflows/unit_tests.sh
vendored
@ -76,7 +76,8 @@ for phase in "${PHASES[@]}"; do
|
||||
MESON_ARGS+=(--fatal-meson-warnings)
|
||||
run_meson -Dnobody-group=nogroup --werror -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true "${MESON_ARGS[@]}" build
|
||||
ninja -C build -v
|
||||
meson test -C build --print-errorlogs
|
||||
# Ensure setting a timezone (like the reproducible build tests do) does not break time/date unit tests
|
||||
TZ=GMT+12 meson test -C build --print-errorlogs
|
||||
;;
|
||||
RUN_ASAN_UBSAN|RUN_GCC_ASAN_UBSAN|RUN_CLANG_ASAN_UBSAN|RUN_CLANG_ASAN_UBSAN_NO_DEPS)
|
||||
MESON_ARGS=(--optimization=1)
|
||||
|
Loading…
Reference in New Issue
Block a user